Viewing 15 posts - 301 through 315 (of 557 total)
Examples of a computed column in a table.
Source for the computed column in this case is varchar or datetime.
In excel time and/or date is just presented as the number of...
December 8, 2015 at 6:30 am
joeroshan (12/8/2015)
You can create a generic script but you might need a lot of work in that direction.I normally start with import / export wizard or SSIS packages.
Using the Copy...
December 8, 2015 at 3:50 am
John Mitchell-245523 (12/8/2015)
Timestamp is deprecated
Thanks, I will not put an efford in this then. I'll solve this when I encounter them, without generating code for this. (Timestamps are rare...
December 8, 2015 at 3:14 am
JustMarie (12/1/2015)
I've advocated...
December 3, 2015 at 2:13 am
DECLARE @olddate datetime = '20141124 19:50'
SELECT
convert(float,GETDATE()-@olddate) ...
November 24, 2015 at 4:19 am
Jack Corbett (11/10/2015)
November 10, 2015 at 11:09 am
Thank you Jack and Gail,
Jack Corbett (11/9/2015)
November 10, 2015 at 1:52 am
I am preparing a script to test the above.
Problem 1:
If a default is defined in a table, and insert is done on the View, where the trigger uses the 'INSERTED'...
November 9, 2015 at 8:01 am
anthony.green (11/3/2015)
Or you could try this aswell
The refereced site gives a compact search 'tool'.
I got some errors and have made some changes to the code.
Now: Searches are only done on...
November 3, 2015 at 6:25 am
Hello,
In the past I created a number of search routines.
This was quite a jumble in different styles.
Now I have bundled the search routines in a stored procedure and the master...
November 3, 2015 at 3:39 am
ChrisM@Work (11/2/2015)
Can you share a couple of your queries (obfuscated, of course)?
Sorry at the moment I do not see a feasible way to do this within a limited amount of...
November 2, 2015 at 7:13 am
Just did a checkup on the tables which inspired this thread.
The actual number of columns in the 'covering index' was 10. And yes they are all used in the actual...
November 2, 2015 at 4:19 am
GilaMonster (11/1/2015)
Columns included are in the leaf level only, not the key, so the index is smaller than if they were in the key.
They also don't count towards the 900...
November 2, 2015 at 3:31 am
Jeff Moden (10/31/2015)
November 2, 2015 at 2:05 am
Alexander Suprun (10/30/2015)There is only one way to force optimizer to do want we want, but we have to use table twice in our query, which becomes cumbersome and not...
November 1, 2015 at 4:05 am
Viewing 15 posts - 301 through 315 (of 557 total)