Click here to Skip to main content
15,914,111 members
Home / Discussions / Database
   

Database

 
GeneralRe: find average of not null records Pin
Chris Meech31-Mar-10 8:11
Chris Meech31-Mar-10 8:11 
GeneralRe: find average of not null records Pin
PIEBALDconsult31-Mar-10 8:33
mvePIEBALDconsult31-Mar-10 8:33 
Questionsearch only date Pin
test-0931-Mar-10 1:46
test-0931-Mar-10 1:46 
AnswerRe: search only date Pin
Eddy Vluggen31-Mar-10 3:07
professionalEddy Vluggen31-Mar-10 3:07 
AnswerRe: search only date Pin
Mycroft Holmes31-Mar-10 3:08
professionalMycroft Holmes31-Mar-10 3:08 
GeneralRe: search only date Pin
test-0931-Mar-10 3:14
test-0931-Mar-10 3:14 
GeneralRe: search only date Pin
dan!sh 31-Mar-10 5:00
professional dan!sh 31-Mar-10 5:00 
GeneralRe: search only date Pin
PIEBALDconsult31-Mar-10 8:40
mvePIEBALDconsult31-Mar-10 8:40 
GeneralRe: search only date Pin
Mycroft Holmes31-Mar-10 12:49
professionalMycroft Holmes31-Mar-10 12:49 
GeneralRe: search only date Pin
Luc Pattyn31-Mar-10 14:56
sitebuilderLuc Pattyn31-Mar-10 14:56 
Questionhow to convert column to row in SQL Server 2005 Pin
Chetan.visodiya30-Mar-10 23:47
Chetan.visodiya30-Mar-10 23:47 
AnswerRe: how to convert column to row in SQL Server 2005 Pin
Mycroft Holmes31-Mar-10 1:28
professionalMycroft Holmes31-Mar-10 1:28 
QuestionBULK INSERT into SQL Server from CSV with apostrophes instead the strings Pin
T210230-Mar-10 22:29
T210230-Mar-10 22:29 
AnswerRe: BULK INSERT into SQL Server from CSV with apostrophes instead the strings Pin
Mycroft Holmes30-Mar-10 22:47
professionalMycroft Holmes30-Mar-10 22:47 
GeneralRe: BULK INSERT into SQL Server from CSV with apostrophes instead the strings Pin
T210230-Mar-10 23:22
T210230-Mar-10 23:22 
AnswerRe: BULK INSERT into SQL Server from CSV with apostrophes instead the strings Pin
R. Giskard Reventlov30-Mar-10 23:11
R. Giskard Reventlov30-Mar-10 23:11 
GeneralRe: BULK INSERT into SQL Server from CSV with apostrophes instead the strings Pin
T210230-Mar-10 23:28
T210230-Mar-10 23:28 
GeneralRe: BULK INSERT into SQL Server from CSV with apostrophes instead the strings Pin
Mycroft Holmes31-Mar-10 1:27
professionalMycroft Holmes31-Mar-10 1:27 
GeneralRe: BULK INSERT into SQL Server from CSV with apostrophes instead the strings Pin
R. Giskard Reventlov31-Mar-10 5:09
R. Giskard Reventlov31-Mar-10 5:09 
GeneralRe: BULK INSERT into SQL Server from CSV with apostrophes instead the strings Pin
T21021-Apr-10 3:25
T21021-Apr-10 3:25 
GeneralRe: BULK INSERT into SQL Server from CSV with apostrophes instead the strings Pin
R. Giskard Reventlov1-Apr-10 4:04
R. Giskard Reventlov1-Apr-10 4:04 
GeneralRe: BULK INSERT into SQL Server from CSV with apostrophes instead the strings [modified] Pin
T210231-Mar-10 19:07
T210231-Mar-10 19:07 
I am going to start working on this shortly. I decided to remove single and double quotes, so that I would get the same results if I ran a script on the file again. If I did not have the double quote issue and several other formatting problems, then I could have called a bulk load or copy afterwards.
I still might make sense to clean the full data first and then do a bulk load.

My problem with my data sources files is that the first field is sometimes split into several columns and the last few columns are sometimes missing. So I have a gross C++ program to remap the data to try to get the correct table structure.

I noticed that the results are incorrect for Rows when double quotes are utilized.
I am specifying FMT=Delimited(,) in my connection string for a csv file.
My query is SELECT * FROM C:\X.csv

Suppose a row contained Generic 1st "LCD" Monitor, 1, 2, 3. The query results are coming back as "Generic 1st", Null, Null, Null.
modified on Thursday, April 1, 2010 2:47 AM

QuestionDeducting data vs saving it explicitly Pin
Alivemau530-Mar-10 11:11
Alivemau530-Mar-10 11:11 
AnswerRe: Deducting data vs saving it explicitly Pin
PIEBALDconsult30-Mar-10 12:13
mvePIEBALDconsult30-Mar-10 12:13 
AnswerRe: Deducting data vs saving it explicitly Pin
Garth J Lancaster30-Mar-10 15:51
professionalGarth J Lancaster30-Mar-10 15: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.