Viewing 15 posts - 3,556 through 3,570 (of 7,187 total)
Just make the column a computed column as PK + 199? I suspect that your requirement is a little more complicated than that, but it's difficult if you keep...
May 22, 2014 at 9:38 am
ronan.healy (5/22/2014)
just 1 thing would that still work if say i had 10 different pieces of data in the second table that i wanted to...
May 22, 2014 at 9:16 am
You can set up a subscription that will e-mail the report as an Excel spreadsheet.
John
May 22, 2014 at 9:11 am
The only problem I've ever seen with that is if your job has a schedule. Your script will have a section something like this:
EXEC @ReturnCode = msdb.dbo.sp_add_jobschedule @job_id=@jobId, @name=N'Daily...
May 22, 2014 at 8:16 am
Something like this should work - a simple stored procedure with an @ErrorCount parameter. If @ErrorCount is 0, do nothing, otherwise raise an error that will cause the task...
May 22, 2014 at 7:12 am
You may be having intermittent network problems. Try setting up a continuous ping test and compare times of any dropped packets to the times you get the timeout errors.
John
May 21, 2014 at 9:39 am
Mark
I think your first problem is mathematical rather than programmatical. 400 values means 2^400 combinations, which is a much larger number than SQL Server can (as far as I...
May 21, 2014 at 5:54 am
Mark
Here's a couple of ways to limit the amount of processing you need to do:
(1) Work out the maximum rows you need to consider.
If you put all the rows in...
May 21, 2014 at 4:30 am
Nancy
Shrinking is fine as a one-off, so long as that table won't grow to 87GB again. If you think it will, leave the database as it is and ask...
May 15, 2014 at 8:54 am
I'm arriving in Telford at 8pm on the Wednesday, but leaving immediately after Thursday's proceedings have finished. Happy to share a couple of ales on my arrival if you're...
May 13, 2014 at 9:41 am
Grant Fritchey (5/12/2014)
Of course, the function on that column will preclude index seeks.
Indeed. Hence the warning about performance.
John
May 12, 2014 at 9:57 am
It's checking to see whether @Num has any non-numeric characters in it. Look up the PATINDEX topic in Books Online for more information.
John
May 12, 2014 at 9:54 am
Something like this should work, although performance could suffer since any index on ProGroup will not be used:
WHERE COALESCE(pg.ProGroup,'No Group') = @userParam
John
May 12, 2014 at 9:31 am
Karen
If you have a backup file (.bak), you can restore the database. If you have the database files (.mdf and .ldf), you can attach the database. The procedure...
April 25, 2014 at 9:54 am
Viewing 15 posts - 3,556 through 3,570 (of 7,187 total)