Viewing 15 posts - 1,636 through 1,650 (of 5,393 total)
April 10, 2012 at 7:20 am
Jack Corbett (4/6/2012)
What do you all run to backup your home systems?
I may need to buy a new laptop soon. I use...
-- Gianluca Sartori
April 6, 2012 at 9:10 am
This seems to be what you're looking for:
http://www.sqlservercentral.com/scripts/Administration/62598/
-- Gianluca Sartori
April 6, 2012 at 7:20 am
-- DECLARE A VARIABLE FOR DYNAMIC SQL
DECLARE @sql nvarchar(max);
DECLARE @colname NVARCHAR(max)
,@coltype NVARCHAR(10)
SET @colname = 'purchase_order_no'
SET @coltype = 'int'
-- CREATE THE SQL STATEMENT DYNAMICALLY FROM THE TABLE...
-- Gianluca Sartori
April 6, 2012 at 6:37 am
chris86 (4/5/2012)
Gianluca,Thank you so much for your assistance. How Could incorporate the the source table as a column/field? Simply 'Table' as 'Source Table'.
I don't think I understand your question. Can...
-- Gianluca Sartori
April 6, 2012 at 2:39 am
Throwing a wild guess:
-- =========================================== --
-- SETUP ...
-- Gianluca Sartori
April 5, 2012 at 9:42 am
sunny.tjk (4/5/2012)
The interface gives me the option to detach but when I click on detach, it gives an error saying "Cannot detach database...
-- Gianluca Sartori
April 5, 2012 at 9:15 am
chetanr.jain (4/5/2012)
I found that STOP at command does not supported in simple recovery model.
Yep. "Simple" means no point in time recovery.
That's why "simple recovery" and "production" are not usually found...
-- Gianluca Sartori
April 5, 2012 at 4:12 am
On another note, I would suggest resisting the temptation to throw indexes at this query before fixing it.
A smart rewrite will probably fix the performance issue without the need for...
-- Gianluca Sartori
April 5, 2012 at 4:10 am
Your query contains all sort of evil. You really need to rewrite it.
First of all, let's format the code to make it more readable:
SELECT DISTINCT TOP (100) PERCENT dbo.Job.Id
,dbo.Contact.Id AS...
-- Gianluca Sartori
April 5, 2012 at 4:06 am
This blog should help:
http://www.sqlskills.com/BLOGS/PAUL/post/Capturing-wait-stats-for-a-single-operation.aspx
-- Gianluca Sartori
April 5, 2012 at 2:17 am
Gianluca Sartori (4/5/2012)
Koen Verbeeck (4/5/2012)
@Gianluca: I wish everyone posted such nicely formatted code to the forum 🙂Thanks! I learned this from Jeff. 🙂
I should have said "this and much more"!...
-- Gianluca Sartori
April 5, 2012 at 2:15 am
Koen Verbeeck (4/5/2012)
@Gianluca: I wish everyone posted such nicely formatted code to the forum 🙂
Thanks! I learned this from Jeff. 🙂
-- Gianluca Sartori
April 5, 2012 at 2:13 am
Here's one possible way:
-- =========================================== --
-- SETUP ...
-- Gianluca Sartori
April 5, 2012 at 1:56 am
Viewing 15 posts - 1,636 through 1,650 (of 5,393 total)