Viewing 10 posts - 1 through 10 (of 10 total)
I checked and found command should be '-c -T -t "|" '
eg.,
'BCP ' + @TABLE + ' QUERYOUT ' + @DIR + @FILE + '-c -T -t "|"...
August 13, 2008 at 4:09 am
I tried initially and now but the result is same (-t| -r\r)
"The system cannot find the path specified"
August 13, 2008 at 2:43 am
I am exporting records by using Stored procedure. The master table contains many coulmns, I needed to export all master table columns (10 columns) into .dat file,
eg of...
August 13, 2008 at 2:18 am
Lately I found CHAR(124) will be the Pipe Symbol (|)
Thanks for your timings...:D
August 13, 2008 at 1:26 am
Try to ping the URL / IP address which you have entered into TNSNames.ORA and check the PORT and connect data have entered correctly. If it gives response check...
June 4, 2008 at 12:37 am
Thanks very much...is it not required to restore tempdb database?
June 3, 2008 at 2:31 am
Rajan, This is one of the interview questions which I faced. I searched but no luck. Is there any way to add?
June 2, 2008 at 4:06 am
Renuka, Thanks for the information. Is there any other way to check like show / update statistics method to check the query execution?
Thanks in advance.
June 2, 2008 at 3:47 am
Hi, you can do the following to export data from table to file
DECLARE @sql VARCHAR(2000)
DECLARE @DAY VARCHAR(20)
DECLARE @FILE VARCHAR(100)
DECLARE @DIR VARCHAR(100)
DECLARE @TABLE VARCHAR(100)
SET @DIR = 'G:\DRIVE\'
SET @TABLE...
June 2, 2008 at 3:28 am
Viewing 10 posts - 1 through 10 (of 10 total)