Click here to Skip to main content
15,898,987 members
Home / Discussions / Database
   

Database

 
QuestionRe: Data Source Not Found on Windows using MyODBC (MySQL) connector Pin
Paul Conrad17-Aug-12 8:32
professionalPaul Conrad17-Aug-12 8:32 
AnswerRe: Data Source Not Found on Windows using MyODBC (MySQL) connector Pin
QuickBooksDev17-Aug-12 8:42
QuickBooksDev17-Aug-12 8:42 
GeneralRe: Data Source Not Found on Windows using MyODBC (MySQL) connector Pin
Paul Conrad17-Aug-12 11:49
professionalPaul Conrad17-Aug-12 11:49 
QuestionSSIS and parsing empty strings to integers Pin
PIEBALDconsult16-Aug-12 7:56
mvePIEBALDconsult16-Aug-12 7:56 
AnswerRe: SSIS and parsing empty strings to integers Pin
Mycroft Holmes16-Aug-12 12:54
professionalMycroft Holmes16-Aug-12 12:54 
GeneralRe: SSIS and parsing empty strings to integers Pin
PIEBALDconsult16-Aug-12 14:37
mvePIEBALDconsult16-Aug-12 14:37 
GeneralRe: SSIS and parsing empty strings to integers Pin
Mycroft Holmes16-Aug-12 17:25
professionalMycroft Holmes16-Aug-12 17:25 
AnswerRe: SSIS and parsing empty strings to integers Pin
S Douglas14-Sep-12 8:38
professionalS Douglas14-Sep-12 8:38 
The problem you are experiencing is a data type issue. The source is varchar, which means SSIS read and mapped the source adaptor to varchar and its output column to varchar. Inserting that varchar into the int caused your problem.

To prevent this issue, in the data flow task -> Right click on the source -> scroll down to “Show Advanced Editor”
Select “Input and Output Properties”

Navigate down to “Output Columns”

Locate the column in question and change the data type to something more appropriate such as “four-byte signed integer [DT_I4]”

SSIS tries to guess what the source data type is and land it in the same data type without knowing everything in advance. SSMS builds the query first with the set of data then does the insert, so it knows to recast the data to the proper type.


You could also change the error handling of the destination object to ignore the error. While this works as well it could lead to other issues and is less than desirable.

Common sense is admitting there is cause and effect and that you can exert some control over what you understand.


Questionhow to spilt the attributes dispatch container planning in Shipment project Pin
SubiyaPalanisamy16-Aug-12 4:35
SubiyaPalanisamy16-Aug-12 4:35 
AnswerRe: how to spilt the attributes dispatch container planning in Shipment project Pin
Eddy Vluggen16-Aug-12 5:35
professionalEddy Vluggen16-Aug-12 5:35 
QuestionCumulative addition among views. Pin
pamelaannegarcia12-Aug-12 7:43
pamelaannegarcia12-Aug-12 7:43 
AnswerRe: Cumulative addition among views. Pin
Mycroft Holmes12-Aug-12 18:29
professionalMycroft Holmes12-Aug-12 18:29 
QuestionHelp with Decimal Roundings Pin
Vimalsoft(Pty) Ltd12-Aug-12 0:51
professionalVimalsoft(Pty) Ltd12-Aug-12 0:51 
AnswerRe: Help with Decimal Roundings Pin
Eddy Vluggen12-Aug-12 1:10
professionalEddy Vluggen12-Aug-12 1:10 
GeneralRe: Help with Decimal Roundings Pin
Vimalsoft(Pty) Ltd12-Aug-12 2:01
professionalVimalsoft(Pty) Ltd12-Aug-12 2:01 
AnswerRe: Help with Decimal Roundings Pin
Niladri_Biswas21-Aug-12 22:39
Niladri_Biswas21-Aug-12 22:39 
QuestionHow to convert Physical XML files into Sqlserver Tables? Pin
Member 400654610-Aug-12 13:10
Member 400654610-Aug-12 13:10 
AnswerRe: How to convert Physical XML files into Sqlserver Tables? Pin
PIEBALDconsult10-Aug-12 13:32
mvePIEBALDconsult10-Aug-12 13:32 
AnswerRe: How to convert Physical XML files into Sqlserver Tables? Pin
Eddy Vluggen10-Aug-12 23:52
professionalEddy Vluggen10-Aug-12 23:52 
QuestionHow do you use the AVG api in sql to manage grouped output? Pin
Xarzu10-Aug-12 13:04
Xarzu10-Aug-12 13:04 
AnswerRe: How do you use the AVG api in sql to manage grouped output? Pin
Paul Conrad10-Aug-12 20:18
professionalPaul Conrad10-Aug-12 20:18 
GeneralRe: How do you use the AVG api in sql to manage grouped output? Pin
Xarzu11-Aug-12 13:30
Xarzu11-Aug-12 13:30 
AnswerRe: How do you use the AVG api in sql to manage grouped output? Pin
Paul Conrad11-Aug-12 13:32
professionalPaul Conrad11-Aug-12 13:32 
AnswerRe: How do you use the AVG api in sql to manage grouped output? Pin
Eddy Vluggen10-Aug-12 22:17
professionalEddy Vluggen10-Aug-12 22:17 
AnswerRe: How do you use the AVG api in sql to manage grouped output? Pin
Niladri_Biswas21-Aug-12 22:51
Niladri_Biswas21-Aug-12 22:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.