Viewing 15 posts - 5,386 through 5,400 (of 7,187 total)
You just need to build your @Export string a little more carefully - something like this:
SET @Export = 'bcp "' + @Command + '" queryout ' + @dir + @Filename...
May 12, 2011 at 8:28 am
Have you looked in the job history for the error message?
John
May 12, 2011 at 8:24 am
I don't know what you mean. If your backup is only taking three seconds then why would you need to know what stage it's at?
John
May 10, 2011 at 1:52 am
If you use the WITH STATS option in your BACKUP DATABASE statement, you can monitor the progress of the operation.
John
May 10, 2011 at 1:41 am
If data type is float, you can't put string data in it.
John
May 9, 2011 at 9:00 am
What is the data type of your column? It would help if you could provide table DDL and sample data in the form of INSERT statements.
John
May 9, 2011 at 8:54 am
You gave the answer yourself. Drop the column and add it again with the identity property.
John
May 9, 2011 at 8:53 am
I discounted Page splits/sec because page splits are also caused by INSERT statements, and therefore if you wanted to measure the rate at which UPDATE statements cause data to be...
May 9, 2011 at 2:25 am
Not sure why you'd want to do that, but you can achieve it with a CROSS JOIN.
John
May 6, 2011 at 7:49 am
When you say "difference time", what do you mean - the number of minutes, the number of hours, or something else? I recommend that you look at the DATEDIFF...
April 28, 2011 at 8:53 am
No SQL Server error message appears to have been passed through. Is there anything in the errorlog of your SQL Server from the same time? If not, I...
April 28, 2011 at 7:46 am
Unfortunately there is no such thing as a clear solution. You need to do your own research based on your own circumstances. Noel has provided a place to...
April 28, 2011 at 7:41 am
But the answer to your question is because you have built your INSERT statement but haven't executed it.
By the way, if you must use dynamic SQL, I recommend that you...
April 28, 2011 at 7:34 am
Viewing 15 posts - 5,386 through 5,400 (of 7,187 total)