Viewing 15 posts - 3,631 through 3,645 (of 5,588 total)
This link (one of the ones returned from the first one above) shows how to do this.
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
August 23, 2010 at 3:41 pm
Did you check out SQL Source Control from Redgate? (Note: I haven't used it; I've just seen it advertised a bit lately...)
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
August 23, 2010 at 3:37 pm
@paul-2 - did you see your blog plug from Brent Ozar in his daily email?
Inside the Optimiser: Constructing a Plan – Paul White is writing some of the best SQL...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
August 23, 2010 at 3:30 pm
And we know that Jeff doesn't want any pork chops aimed at him! :w00t:
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
August 22, 2010 at 7:21 pm
radek-902543 (8/22/2010)
Hi I have table with these column cw,q_number,count
You know, the people that help out here are all un-paid volunteers, so please HELP US HELP YOU. Providing the DDL...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
August 22, 2010 at 8:52 am
One thing that all of the above are assuming is that the freedate column contains only dates, with the times set to 00:00:00.000. If this is not the case, then...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
August 22, 2010 at 8:41 am
RBarryYoung (3/8/2010)
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
August 21, 2010 at 9:19 pm
You mean like:
GRANT SELECT ON dbo.MyProc TO user1,user2
You might want to check out this BOL link.
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
August 21, 2010 at 8:58 pm
I thing that I've noticed from the recommended indexes, is that there will be some very similar indexes.
i.e. it might recommend both of the following indexes
CREATE NONCLUSTERED INDEX [IX1] ON...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
August 21, 2010 at 2:53 pm
You know, the people that help out here are all un-paid volunteers, so please HELP US HELP YOU. Providing the DDL scripts (CREATE TABLE, CREATE INDEX, etc.) for the tables...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
August 21, 2010 at 9:25 am
CROSS JOIN
Specifies the cross-product of two tables. Returns the same rows as if no WHERE clause was specified in an old-style, non-SQL-92-style join.
In Deprecated Database Engine...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
August 20, 2010 at 1:06 pm
This link has some useful tips for how to accomplish this.
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
August 20, 2010 at 7:13 am
I agree with Lutz... we need the Table DDL and sample data (in the form on insert statements) to see what's going on. Just be sure that you sanitize the...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
August 20, 2010 at 7:05 am
You might want to check out the white paper SQL 2008 Technical Reference Guide
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
August 20, 2010 at 6:47 am
Yes, I assumed that a table with a million records would already have a clustered index. That's why we pull the data into a #temp table, and throw the index...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
August 19, 2010 at 2:16 pm
Viewing 15 posts - 3,631 through 3,645 (of 5,588 total)