Click here to Skip to main content
15,885,365 members
Home / Discussions / Database
   

Database

 
GeneralRe: SELECT works fine when I execute directly but fails in stored proc Pin
Mel Padden14-Dec-07 4:10
Mel Padden14-Dec-07 4:10 
GeneralRe: SELECT works fine when I execute directly but fails in stored proc Pin
Paddy Boyd14-Dec-07 4:12
Paddy Boyd14-Dec-07 4:12 
QuestionQuery Issue Pin
rockz...13-Dec-07 23:03
rockz...13-Dec-07 23:03 
GeneralRe: Query Issue Pin
Colin Angus Mackay13-Dec-07 23:14
Colin Angus Mackay13-Dec-07 23:14 
Generalimport xls to sqlserver table Pin
sivaram praveen13-Dec-07 19:49
sivaram praveen13-Dec-07 19:49 
GeneralRe: import xls to sqlserver table Pin
pmarfleet13-Dec-07 21:42
pmarfleet13-Dec-07 21:42 
GeneralImporting NULLs Instead of Actual Values Pin
Bryan Bradford13-Dec-07 9:58
Bryan Bradford13-Dec-07 9:58 
GeneralRe: Importing NULLs Instead of Actual Values Pin
pmarfleet13-Dec-07 11:29
pmarfleet13-Dec-07 11:29 
I guess that you have altered the TypeGuessRows registry setting. Have you included the element IMEX=1 in your connection string? This informs the driver that columns where the data is of an indeterminate data type should be treated as text.

The following text is from KB article 194124:

NOTE: Setting IMEX=1 tells the driver to use Import mode. In this state, the registry setting ImportMixedTypes=Text will be noticed. This forces mixed data to be converted to text. For this to work reliably, you may also have to modify the registry setting, TypeGuessRows=8. The ISAM driver by default looks at the first eight rows and from that sampling determines the datatype. If this eight row sampling is all numeric, then setting IMEX=1 will not convert the default datatype to Text; it will remain numeric.


Adding this setting as well as modifying the registry should produce the desired results.
Paul Marfleet

"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush


GeneralRe: Importing NULLs Instead of Actual Values Pin
Bryan Bradford14-Dec-07 10:28
Bryan Bradford14-Dec-07 10:28 
GeneralDatabase redesign advice, please. Pin
jimbaloo13-Dec-07 5:59
jimbaloo13-Dec-07 5:59 
GeneralRe: Database redesign advice, please. Pin
Mark Churchill15-Dec-07 18:27
Mark Churchill15-Dec-07 18:27 
GeneralRe: Database redesign advice, please. Pin
jimbaloo17-Dec-07 2:20
jimbaloo17-Dec-07 2:20 
GeneralRe: Database redesign advice, please. Pin
Mark Churchill17-Dec-07 3:30
Mark Churchill17-Dec-07 3:30 
GeneralLinking databases across servers Pin
Leo Smith13-Dec-07 4:39
Leo Smith13-Dec-07 4:39 
GeneralReporting Services reports: Display problem in Firefox Pin
Ziggy98112-Dec-07 23:16
Ziggy98112-Dec-07 23:16 
GeneralRe: Reporting Services reports: Display problem in Firefox Pin
pmarfleet13-Dec-07 2:37
pmarfleet13-Dec-07 2:37 
GeneralSELECT MAX() with a CRecordeset on an Oracle database Pin
ilgale12-Dec-07 21:19
ilgale12-Dec-07 21:19 
Questionimporting excel sheet into a database table [modified] Pin
sivaram praveen12-Dec-07 19:51
sivaram praveen12-Dec-07 19:51 
GeneralRe: importing excel sheet into a database table Pin
pmarfleet12-Dec-07 21:45
pmarfleet12-Dec-07 21:45 
News[ANN] The Compete Guide to ODBC Escape Sequences in Firebird and Interbase. Pin
AndrewMerkulov12-Dec-07 18:30
AndrewMerkulov12-Dec-07 18:30 
GeneralErrorMsg:Syntax error converting the varchar value ' ' to a column of data type int. Pin
Giri K12-Dec-07 14:53
Giri K12-Dec-07 14:53 
GeneralRe: ErrorMsg:Syntax error converting the varchar value ' ' to a column of data type int. Pin
Rocky#12-Dec-07 18:33
Rocky#12-Dec-07 18:33 
GeneralRe: ErrorMsg:Syntax error converting the varchar value ' ' to a column of data type int. Pin
Giri K13-Dec-07 12:09
Giri K13-Dec-07 12:09 
GeneralRe: ErrorMsg:Syntax error converting the varchar value ' ' to a column of data type int. Pin
Giri K13-Dec-07 12:34
Giri K13-Dec-07 12:34 
GeneralADO INSERT Pin
CSharpDavid12-Dec-07 9:44
CSharpDavid12-Dec-07 9:44 

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.