Viewing 15 posts - 181 through 195 (of 325 total)
Hello!
To me, the strategy that I have followed is:
1. Get the database online as soon as possible - non-current data allowed
2. Attempt to restore the most-recent data first - mostly...
January 7, 2011 at 4:09 am
amit_adarsh (1/4/2011)
Good question but i think it will not come under Header Truncate in TransactionI think this question will come under UNION and UNION ALL diff.
I think one title...
January 4, 2011 at 9:59 pm
Good question.
That being said, I fail to understand what the purpose of the question was - to test whether or not the user notices the "UNION", or that TRUNCATE can...
January 4, 2011 at 12:04 am
Hello, Andy!
In the new year, I have spun off a new blog series based on the discussion that members of the community have been having in response to your editorial.
The...
December 31, 2010 at 12:45 pm
jts_2003 (12/30/2010)
...usually when something has gone wrong!;-)
Exactly - as a matter of fact, that's when this question was thought of.
December 30, 2010 at 6:04 am
Doug Bishop (12/27/2010)
December 27, 2010 at 10:33 am
Is this what you are looking for?
DECLARE @CYBeginDate VARCHAR(10)
DECLARE @CYEndDate VARCHAR(10)
DECLARE @LYBeginDate VARCHAR(10)
DECLARE @LYEndDate VARCHAR(10)
DECLARE @CYDate DATETIME
DECLARE @LYDate DATETIME
SET @CYDate = GETDATE()
--Test Data
--SET @CYDate = '04/01/2010'...
December 27, 2010 at 6:53 am
You can add the validation to an INSTEAD OF INSERT trigger and raise an error if the input is not within the required range.
December 27, 2010 at 2:47 am
ashkan siroos (12/27/2010)
There will be some errors, Most Of them on MS DB!:D
It is strange! why Microsoft Cant upgrade his product without...
December 27, 2010 at 2:37 am
All child references must go away before you attempt to delete the record.
In this case, the records of Table B must be updated to NULL before removing data from Table...
December 27, 2010 at 2:30 am
You can try to use CTE (Common Table Expressions).
Can you post the INSERT statements for your table so that it becomes easy for us to come up with a properly...
December 27, 2010 at 2:28 am
This is very, very ugly. Flags like these must have only two distinct values. With 1,0 and NULL, you now have 3 values, one of which is an UNKNOWN (NULL).
BIT...
December 27, 2010 at 2:25 am
This question and it's response will invite mixed response, I am sure.
While it is good to know that DATETIME2 removes the "1753" restriction, it should also be known that logical...
December 27, 2010 at 12:38 am
The result set of sp_help_job has a column - "current_execution_step", which provides the "Current execution step in the job."
This is mentioned in Books On Line, and hence would request you...
December 27, 2010 at 12:19 am
Viewing 15 posts - 181 through 195 (of 325 total)