Viewing 15 posts - 2,611 through 2,625 (of 6,679 total)
When creating the Alert - at the top of the dialog box is a button to Script the changes. Before creating the alert click this button and it will script...
March 15, 2017 at 12:39 pm
January 23, 2017 at 12:11 pm
If you are looking for results from the insert - you could use the OUTPUT clause on the INSERT/UPDATE statement itself instead of using a trigger.
January 16, 2017 at 4:05 pm
January 16, 2017 at 12:29 pm
You could use sys.dm_io_virtual_file_stats and capture the data every couple of seconds to a table. Then you can query that table for the IO stats specific to the database...
January 8, 2017 at 9:11 am
The information does exist in the default trace - the schema change history report will show you the information you are looking for...to get the code open Profiler and have...
January 7, 2017 at 9:36 am
donald.mcneill (1/6/2017)
January 7, 2017 at 9:21 am
If the query works with a variable - then why would you be concerned about using the literal value? What is happening here is that SQL Server uses the...
January 3, 2017 at 12:08 pm
Jeff Moden (12/30/2016)
BOR15K (12/30/2016)
But I think we have drifted way beyond my original question of where to place WITH (NOLOCK).
With regards to your concern it might always select...
December 30, 2016 at 2:21 pm
Mystic1287 (12/29/2016)
December 29, 2016 at 11:16 am
You need to fix this issue:
CONVERT(datetime,PackageActivityDateTime, 120) < CONVERT(datetime,@PackageActivityDateTime, 120)
The column should already be a datetime data type so it should not need to be converted. And why...
December 29, 2016 at 8:32 am
Snargables (12/28/2016)
December 28, 2016 at 12:16 pm
Snargables (12/28/2016)
December 28, 2016 at 11:53 am
In your version - you have '' as the default value which is not a valid date. An empty string as a date is implicitly converted to a 0...
December 24, 2016 at 10:23 am
How did you determine that only 11GB of space is in use? I have seen this kind of issue with one or more tables where LOB data use to...
December 16, 2016 at 12:44 pm
Viewing 15 posts - 2,611 through 2,625 (of 6,679 total)