Viewing 15 posts - 16 through 30 (of 85 total)
I guess I assumed that this was already being run from a Job. How is the proc being called? From a standalone app?
November 19, 2013 at 12:20 pm
Did you ever consider just using Powershell with the Start-Job cmdlet? I expect that the use of Powershell would supplant the need for CLR procs when those procs are...
November 19, 2013 at 8:16 am
I'm still waiting for someone to fix this. The answer saying "ORDER By is required when using a TOP clause" is clearly wrong.
March 8, 2013 at 12:24 pm
Yeah I don't understand it either but I've found that there is an identifier about 160 bytes before the data I want so I will read for it at the...
March 7, 2013 at 1:38 pm
The sector size must be the difference, the new files all report the correct version. I looked through the 4k files and found that the offset is at 10412...
March 7, 2013 at 10:05 am
Well Lowell, sure enough your backups fail (i.e. return zero for version number), although backing up my database using your command works fine. I don't have a 4K sector...
March 7, 2013 at 9:39 am
Lowell, I'd like to find out more about why it failed on your backups since I tested it on several versions and different database names. Can you give me...
March 7, 2013 at 6:38 am
Also, if you would like to use this in PowerShell just execute the following to create a new object type
Add-Type -TypeDefinition @"
using System;
using System.IO;
public class GetSQLBackup
{
public...
March 6, 2013 at 4:47 pm
I tested this against various database backups from SQL 2000, 2005, and 2008 and it worked as advertised. There were backups taken from different servers and with different...
March 6, 2013 at 4:43 pm
there might be something in the header that might be causing that to shift position. In my case the database name being backed up was always the same. ...
March 6, 2013 at 3:39 pm
OK, so one of my coworkers opened a backup file from a 2005 server and a 2008 in a HEX editor server and found where there was a difference in...
March 6, 2013 at 2:25 pm
GilaMonster (3/6/2013)
No need to read the backup file manually.
Yes there is. The system they are installing on may not yet have SQL Server installed on it. I will...
March 6, 2013 at 1:57 pm
Half the fun of a new job is learning new things. Dive in and expand your horizons. Risk = reward. If you really think you'll fail, keep...
March 6, 2013 at 1:35 pm
Just wanted to explain why you were getting what you were getting. CHARINDEX finds the STARTING position of the string you specify to be found (not the ending position)....
March 6, 2013 at 10:28 am
Here's a little follow up on the INSERT EXEC statement. Say you have a table defined as such
create table #ReportData (a int, b int, c...
March 6, 2013 at 10:21 am
Viewing 15 posts - 16 through 30 (of 85 total)