Viewing 15 posts - 3,226 through 3,240 (of 7,187 total)
Some default traces last longer than others. If your applications are well designed and don't constantly perform DDL operations, then you've a fighting chance of having a few days'...
March 11, 2015 at 6:09 am
You can try the default trace. It's usually stored in the same folder as your errorlog and SQL Server Agent log files. You can open the file with...
March 11, 2015 at 4:59 am
Yes, that was my question, as yet unanswered. Also, it may help to investigate this part of the error message: "Multiple-step OLE DB operation generated errors".
John
March 4, 2015 at 4:38 am
Your test data script doesn't work. But anyway, have you tried the NTILE function?
John
March 4, 2015 at 4:22 am
What is the query in your jobstep that is causing the error? What do you get if you run this query?
SELECT name, product, provider, data_source, location, provider_string, catalog
FROM sys.servers
John
March 4, 2015 at 3:59 am
Selectivity of the columns that make up the index key, not of the table itself. So if your index key only has a small number of distinct values, it's...
February 18, 2015 at 4:56 am
Oh, I see. I'm afraid there's no way of doing that, as far as I know.
John
February 6, 2015 at 7:01 am
Then I'm afraid there's no easy answer. You're going to need to go through that column and clean it up. Once you've done that, change the data type...
February 6, 2015 at 6:03 am
You want running a report to cause a job to stop? Not something I'd recommend, but if you want to do it, just put an sp_stop_job command at the...
February 6, 2015 at 6:01 am
What do you want to do if the result is Cancelled - show Succeeded, or show the most recent non-Cancelled outcome?
John
February 6, 2015 at 5:56 am
If you only need the time portion for ordering, you should be OK just converting to int:
ROW_NUMBER() OVER (PARTITION BY DIA.reference ORDER BY dia.entry_date,CAST(dia.entry_time AS int))
Of course, it all depends...
February 6, 2015 at 5:50 am
If I remember correctly, when data is imported from Excel, it only looks at the first half dozen or so rows in order to determine the width of the columns....
February 4, 2015 at 5:54 am
Sounds like the data in your spreadsheet is too wide to insert into at least one of the columns in your table.
John
February 4, 2015 at 5:33 am
Have you tried what it suggests in the error message?
John
February 4, 2015 at 2:24 am
If you usually only have one file in your folder, you should be able to get its name quite easily using xp_cmdshell, Powershell, or your favourite other scripting tool. ...
January 30, 2015 at 9:51 am
Viewing 15 posts - 3,226 through 3,240 (of 7,187 total)