Viewing 15 posts - 316 through 330 (of 447 total)
Good one. Always thought insert with insert into..but never thought default values could be used to insert identity value for an identity column.
SQL DBA.
July 7, 2008 at 11:36 am
My job also runs every 10 minutes and never had issues. It generally takes less than a second to complete. Command in job is -
EXEC dbo.sp_MSdistribution_cleanup @min_distretention...
SQL DBA.
July 1, 2008 at 1:04 pm
Check for Distribution clean up: distribution job in scheduled jobs and run it.
SQL DBA.
July 1, 2008 at 12:24 pm
Buxton69 (7/1/2008)
You can then set it to run from which...
SQL DBA.
July 1, 2008 at 12:16 pm
armando.horcajo (7/1/2008)
How can I know if a certain stored procedure is being running at present time?
You can run SQL profiler for detailed report or run sp_who2 or dbcc inputbuffer(spid) for...
SQL DBA.
July 1, 2008 at 12:11 pm
Steve Jones - Editor (7/1/2008)
It's likely you would get 10% back, but there's no guarantee.
I tested it more than 10 times and it never returned 10% back approx. It...
SQL DBA.
July 1, 2008 at 11:54 am
Thanks John and Ken for these scripts. Both are good and are worth keeping it handy.
SQL DBA.
June 26, 2008 at 9:47 am
WOW.......Jul 21, 2008 question on June 18,2008.
SQL DBA.
June 18, 2008 at 12:43 pm
Good question but bad wording. I said yes and lost a point. After insert no matter how many times you execute these select statements you get same result.
--select...
SQL DBA.
June 5, 2008 at 2:54 pm
Prasad Bhogadi (5/8/2008)
I am not sure if resource is a system database. From the article in the question it does not cement the answer that resource is a system database.
Resource...
SQL DBA.
May 8, 2008 at 8:47 am
Adam Heard (5/7/2008)
The "Created" column does not show the time. Is there a way to display this?
Not possible.
SQL DBA.
May 7, 2008 at 8:41 am
Try this.
ALTER TABLE tablename
ALTER COLUMN columnname COLLATE default
SQL DBA.
May 7, 2008 at 8:38 am
WHERE SalariedFlag = 'true' for bit would not work in 2000 but since it says use Adventureworks, it clear that the question is for SQL 2005.
SQL DBA.
May 7, 2008 at 8:33 am
Viewing 15 posts - 316 through 330 (of 447 total)