Click here to Skip to main content
15,920,217 members
Home / Discussions / Database
   

Database

 
AnswerRe: bcp and int>ASCII code conversion Pin
Mycroft Holmes11-Jul-10 23:18
professionalMycroft Holmes11-Jul-10 23:18 
GeneralRe: bcp and int>ASCII code conversion Pin
devvvy12-Jul-10 0:29
devvvy12-Jul-10 0:29 
GeneralRe: bcp and int>ASCII code conversion Pin
Mycroft Holmes12-Jul-10 14:32
professionalMycroft Holmes12-Jul-10 14:32 
GeneralRe: bcp and int>ASCII code conversion Pin
devvvy12-Jul-10 15:44
devvvy12-Jul-10 15:44 
GeneralRe: bcp and int>ASCII code conversion Pin
Mycroft Holmes12-Jul-10 17:29
professionalMycroft Holmes12-Jul-10 17:29 
GeneralRe: bcp and int>ASCII code conversion Pin
devvvy12-Jul-10 18:02
devvvy12-Jul-10 18:02 
GeneralIs it possible not to specify format file? Pin
devvvy13-Jul-10 0:29
devvvy13-Jul-10 0:29 
GeneralIs it possible to skip -f switch (i.e. not supply format file) and let bcp to do this job herself (i.e. infer field type auto like old days?) [modified] Pin
devvvy13-Jul-10 0:37
devvvy13-Jul-10 0:37 
Is it possible to skip -f switch (i.e. not supply format file) and let bcp to do this job herself (i.e. infer field type auto like old days?)



C:\somedir\bcp.exe DEV.dbo.SomeMixedData in C:\somedir\output\output_abc_mixed.txt -n -S SomeSErver -T

Starting copy...

0 rows copied. << Just can't get it working without format file.
Network packet size (bytes): 4096
Clock Time (ms.) Total : 1

When open with Notepad my sample file resembles:

20100701,1.110000e+000,2.220000e+000
20100702,3.330000e+000,4.440000e+000
20100703,5.550000e+000,6.660000e+000

And my simple table:
CREATE TABLE [dbo].[SomeData](
[Col1] [varchar](255) NULL,
[Col2] [varchar](255) NULL,
[Col3] [varchar](255) NULL
)
dev
modified on Tuesday, July 13, 2010 7:02 AM

Questionsum of a column upto the current row for each row Pin
indian1439-Jul-10 8:31
indian1439-Jul-10 8:31 
AnswerRe: sum of a column upto the current row for each row Pin
Eddy Vluggen9-Jul-10 8:59
professionalEddy Vluggen9-Jul-10 8:59 
AnswerRe: sum of a column upto the current row for each row Pin
CitrusTech9-Jul-10 9:03
CitrusTech9-Jul-10 9:03 
AnswerRe: sum of a column upto the current row for each row Pin
Bernhard Hiller11-Jul-10 22:10
Bernhard Hiller11-Jul-10 22:10 
GeneralRe: sum of a column upto the current row for each row Pin
Mycroft Holmes11-Jul-10 23:21
professionalMycroft Holmes11-Jul-10 23:21 
QuestionTNS Ping (.NET Library) Pin
mrwatkin9-Jul-10 5:00
mrwatkin9-Jul-10 5:00 
Questionsql procedure Pin
Thanusree Duth9-Jul-10 1:22
Thanusree Duth9-Jul-10 1:22 
AnswerRe: sql procedure Pin
CitrusTech9-Jul-10 2:26
CitrusTech9-Jul-10 2:26 
AnswerRe: sql procedure Pin
User 27431629-Jul-10 2:40
User 27431629-Jul-10 2:40 
AnswerRe: sql procedure [modified] Pin
Аslam Iqbal10-Jul-10 5:40
professionalАslam Iqbal10-Jul-10 5:40 
AnswerRe: sql procedure Pin
Jeremy Hutchinson14-Jul-10 7:43
professionalJeremy Hutchinson14-Jul-10 7:43 
Questionsql function Pin
Thanusree Duth8-Jul-10 20:13
Thanusree Duth8-Jul-10 20:13 
AnswerRe: sql function Pin
Mycroft Holmes8-Jul-10 23:07
professionalMycroft Holmes8-Jul-10 23:07 
AnswerRe: sql function Pin
J4amieC8-Jul-10 23:48
J4amieC8-Jul-10 23:48 
AnswerRe: sql function Pin
Luc Pattyn8-Jul-10 23:49
sitebuilderLuc Pattyn8-Jul-10 23:49 
AnswerRe: sql function Pin
Jeremy Hutchinson14-Jul-10 7:52
professionalJeremy Hutchinson14-Jul-10 7:52 
Questionsql function fot removing negative sign Pin
Thanusree Duth8-Jul-10 18:57
Thanusree Duth8-Jul-10 18:57 

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.