Viewing 15 posts - 16 through 30 (of 47 total)
thank you for reply but I've in T40 one millions of records ... :ermm:
August 30, 2013 at 7:59 am
I tried this but the table is not exporting in txt file:
[SQL] DECLARE
@SQL VARCHAR (8000) SELECT
@SQL = 'bcp mytable out \\XX.XX.XX.XX\output.txt -T -c -t'
Affected rows: 0
Time: 0.041ms
Affected rows: 0
May 16, 2013 at 8:56 am
opc.three (5/16/2013)
Are you on an Edition of SQL Server that has SQL Agent? In other words not SQL Express Edition?
Not Sir, the db is to remote server and I use...
May 16, 2013 at 7:25 am
This is an ongoing process, planned in the server
May 16, 2013 at 6:11 am
thank you for help.
I need to get data from a table into a file txt.
May 16, 2013 at 1:13 am
thank you, but:
[SQL] SELECT * FROM tbl WHERE CONVERT(datetime, [myDateString], 103) > DATEADD(day, -3, getdate())
[Err] 22007 - [SQL Server]Conversion failed when converting date and/or time from character string.
the value of...
March 5, 2013 at 3:17 am
thanks a lot
February 15, 2013 at 7:02 am
thank you for help:
SET dateformat dmy;
SELECT
CONVERT (
datetime,
'31/12/2012 16:30'
);
Output:
2012-12-31 16:30:00.000
February 12, 2013 at 10:28 am
dwain.c (12/26/2012)
You're welcome.BTW. You do see what I was trying to do with @CountOfEmp right?
Yes sir, I see and I love it!
In case you have more than 5 employees...
December 26, 2012 at 1:38 am
dwain.c (12/26/2012)
cms9651 (12/26/2012)
dwain.c (12/26/2012)
I'm not quite sure why but try the full code at the bottom of this post without change.
I tried your full code, I have the same...
December 26, 2012 at 1:16 am
Viewing 15 posts - 16 through 30 (of 47 total)