Viewing 7 posts - 1 through 7 (of 7 total)
Thanks Frank....
I was afraid of that...parsing the data to look for delimiters looks to be the only way ...
July 29, 2003 at 5:48 am
that is not a double quote in front of dog its two single ticks...
I dont want the tick at the end of the stream that would make the data invalid...
Sorry...
July 25, 2003 at 8:29 am
Here is how the insert ends up looking because the @parameter passes the data to the dynamic insert statement..
Insert into table ('col', 'col') Values (''dog', 'cat')
See right before the dog...
July 25, 2003 at 8:18 am
Frank:
Would that always insert a tick ....this has only occurred once so far...if it always inserts a tick then the data would not be correct..
My insert statement passes the VALUES...
July 25, 2003 at 7:43 am
Here is kinda what I want to do....(I know this doesnt work)...can someone help me get it right..
Create function GetAllData
(@filterid uniqueidentifier)
RETURNS table
AS
RETURN {select statement that uses all the tables...
July 9, 2003 at 8:10 am
Thanks for your input I realized the problem...I had to also include the Dbname.table.columnname in the where clause..
June 26, 2003 at 7:52 am
I tried it a again:
use master
exec xp_cmdshell 'bcp "select * from dbname.owner.table where checkbit = 0" queryout e:\products.txt -c -Sserver -Usa -Ppassword'
I get as an error the format for writing...
June 26, 2003 at 6:22 am
Viewing 7 posts - 1 through 7 (of 7 total)