Click here to Skip to main content
15,913,027 members
Home / Discussions / Database
   

Database

 
GeneralRe: @@FETCH_STATUS Pin
Dave Kreskowiak20-Jan-06 8:01
mveDave Kreskowiak20-Jan-06 8:01 
GeneralRe: @@FETCH_STATUS Pin
Mike Ellison20-Jan-06 8:03
Mike Ellison20-Jan-06 8:03 
Questiongetting the size of an image from DB Pin
minkinin19-Jan-06 19:35
minkinin19-Jan-06 19:35 
AnswerRe: getting the size of an image from DB Pin
Kedar Potdar19-Jan-06 22:38
Kedar Potdar19-Jan-06 22:38 
AnswerRe: getting the size of an image from DB Pin
turbochimp21-Jan-06 20:47
turbochimp21-Jan-06 20:47 
GeneralRe: getting the size of an image from DB Pin
minkinin23-Jan-06 21:47
minkinin23-Jan-06 21:47 
QuestionImport data from Excel Pin
thainam19-Jan-06 15:48
thainam19-Jan-06 15:48 
AnswerRe: Import data from Excel Pin
Mike Ellison19-Jan-06 18:30
Mike Ellison19-Jan-06 18:30 
You might be helped by knowing that there are some options you can apply in the connection string for your ADO.NET connection. The site http://www.connectionstrings.com is a great reference - here's what it posts for an Excel connection string:
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\MyExcel.xls;Extended Properties=""Excel 8.0;HDR=Yes;IMEX=1"""

    "HDR=Yes;" indicates that the first row contains columnnames, not data
    "IMEX=1;" tells the driver to always read "intermixed" data columns as text
    TIP! SQL syntax: "SELECT * FROM [sheet1$]" - i.e. worksheet name followed by a "$" and wrapped in "[" "]" brackets.


I'm thinking in your case you want the IMEX=1 extended property... maybe the HDR=No property too?
QuestionCount Distinct Pin
Sasuko19-Jan-06 13:49
Sasuko19-Jan-06 13:49 
AnswerRe: Count Distinct Pin
Dave Kreskowiak19-Jan-06 15:03
mveDave Kreskowiak19-Jan-06 15:03 
QuestionWord document in SQL table Pin
Tom Wright19-Jan-06 11:57
Tom Wright19-Jan-06 11:57 
AnswerRe: Word document in SQL table Pin
Mike Ellison19-Jan-06 12:49
Mike Ellison19-Jan-06 12:49 
GeneralRe: Word document in SQL table Pin
Tom Wright20-Jan-06 3:56
Tom Wright20-Jan-06 3:56 
GeneralRe: Word document in SQL table Pin
Mike Ellison20-Jan-06 6:05
Mike Ellison20-Jan-06 6:05 
QuestionHow to select First Name? Pin
SIJUTHOMASP18-Jan-06 23:06
professionalSIJUTHOMASP18-Jan-06 23:06 
AnswerRe: How to select First Name? Pin
SIJUTHOMASP18-Jan-06 23:28
professionalSIJUTHOMASP18-Jan-06 23:28 
AnswerRe: How to select First Name? Pin
toxcct19-Jan-06 2:08
toxcct19-Jan-06 2:08 
GeneralRe: How to select First Name? Pin
Paul Conrad21-Jan-06 6:48
professionalPaul Conrad21-Jan-06 6:48 
QuestionMYSQL ERROR Pin
hbjs18-Jan-06 16:19
hbjs18-Jan-06 16:19 
AnswerRe: MYSQL ERROR Pin
hbjs18-Jan-06 16:46
hbjs18-Jan-06 16:46 
QuestionSQL 2005 - Auto connect to DB engines Pin
cmk18-Jan-06 14:46
cmk18-Jan-06 14:46 
AnswerRe: SQL 2005 - Auto connect to DB engines Pin
Dave Kreskowiak20-Jan-06 4:41
mveDave Kreskowiak20-Jan-06 4:41 
GeneralRe: SQL 2005 - Auto connect to DB engines Pin
cmk20-Jan-06 11:36
cmk20-Jan-06 11:36 
QuestionSQL Table Design Pin
Alexandru Serban18-Jan-06 10:39
professionalAlexandru Serban18-Jan-06 10:39 
AnswerRe: SQL Table Design Pin
Russell Nash19-Jan-06 1:54
Russell Nash19-Jan-06 1:54 

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.