Viewing 15 posts - 901 through 915 (of 6,486 total)
By the way you're describing this - I'd recommend NOT making this a pure SQL approach. I certainly see storing the data there, and having the consequences of tier...
July 31, 2012 at 12:26 pm
iBar (7/31/2012)
One thing you might have missed OR may be i could not understand in your reply is the flexibility for future enhancement.
For example:
In first approach,...
July 31, 2012 at 10:34 am
Just for references - I just tested out a fairly extreme case.
if exists (select object_id from sys.procedures where name='MattnoCmt')
drop procedure MattnoCmt
if exists (select object_id from sys.procedures where name='MattCmt')
drop...
July 30, 2012 at 3:46 pm
I've had a few cases where a lot of the searches were basically "ends with" searches. The best way to implement that is using a persisted computed column with...
July 30, 2012 at 12:56 pm
You're going to want to use a combination of CROSS (or OUTER) APPLY to turn the multiple nodes inside of some of the hierarchies into a virtual table of sorts....
July 30, 2012 at 10:18 am
Steve Jones - SSC Editor (7/30/2012)
SQLPhil (7/30/2012)
Those that survive, or perhaps thrive, get promoted.
An interesting observation there Steve. Unfortunately I've seen too many examples where bad managers are promoted...
July 30, 2012 at 9:34 am
Grant Fritchey (7/30/2012)
Ian Scarlett (7/30/2012)
Grant Fritchey (7/30/2012)
You can't output a cursor in SQL Server. You don't have that option.
I think you can (not that I'm advocating it)...
USE tempdb
GO
CREATE PROCEDURE obj_cursor...
July 30, 2012 at 8:30 am
Welsh Corgi (7/27/2012)
I do not see an option to redirect errors from an Execute SQL Task?
That was kind of the point of my previous comment. If the insert or...
July 27, 2012 at 10:18 am
opc.three (7/26/2012)
Welsh Corgi (7/25/2012)
I would have assumed that a Stored Procedure would be faster nut...
July 26, 2012 at 4:49 pm
Welsh Corgi (7/25/2012)
This procedure will be executed in an SSIS Package.
If someone...
July 26, 2012 at 11:36 am
While I'm sure that there are other reasons - here are a few:
- a heap's nonclustered indexing relies on a "heap row ID", which is basically a compound identifier...
July 26, 2012 at 11:27 am
anthony.green (7/26/2012)
Gone with John's responce as its the simpler to impliment,...
July 26, 2012 at 11:02 am
From BOL:
Specifies that Service Broker message delivery is enabled at the end of the restore so that messages can be sent immediately. By default Service Broker message delivery is disabled...
July 26, 2012 at 10:56 am
Well if you're concerned that the numbers will NOT be the same (or you want to verify), then insert it into a temporary table of some sort, and verify that...
July 25, 2012 at 8:45 am
It's a bit of a circular argument, but per BOL, select @@ROWCOUNT returns the number of rows affected by the previous statement. The last statement is an INSERT so that's...
July 24, 2012 at 3:43 pm
Viewing 15 posts - 901 through 915 (of 6,486 total)