Viewing 15 posts - 3,211 through 3,225 (of 5,588 total)
Awesome series Paul!
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
September 14, 2010 at 5:27 pm
Steve Jones - Editor (9/14/2010)
- he was abused
- I contributed to the abuser by pointing...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
September 14, 2010 at 3:43 pm
CirquedeSQLeil (9/14/2010)
AhhhSo I can bring my fat goats in here for people to see and watch?
Cool - here is my goat.
Do you really have a goat? We had 4 pygmy...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
September 14, 2010 at 3:34 pm
a.borgeld (9/14/2010)
In one word. Thank you for the lesson Wayne.When its al finished i will come back to this topic.
Kind regards,
André
No problem, I'm glad I can help. If you have...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
September 14, 2010 at 3:28 pm
pharmboy4u (9/14/2010)
CELKO (9/14/2010)
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
September 14, 2010 at 3:24 pm
assh1122 (9/14/2010)
Thank you both for taking your time to answer my question. I could able to successfully change the table owner using the sp_changeobjectowner '[currentschema].[currenttable]' , 'dbo' command. Now I...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
September 14, 2010 at 3:09 pm
Looks like I got in ahead of Lowell by 1 or 2 ms.
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
September 14, 2010 at 2:20 pm
Under this situation, my first thought is to use the Import wizard to import all of the tables you need from the main database, then import the others via a...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
September 14, 2010 at 2:18 pm
The way it's written, yes. However, if you can make the PK be on (B, C, A), then you wouldn't need to.
Edit: also, the index on B,C isn't for just...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
September 14, 2010 at 2:11 pm
You can only have one else condition for the case statement, after all of the WHEN conditions.
CASE
WHEN Code Between 1 and 24 THEN Hours
WHEN Code Between 26 and 29...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
September 14, 2010 at 2:07 pm
CirquedeSQLeil (9/14/2010)
Steve Jones - Editor (9/14/2010)
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
September 14, 2010 at 1:54 pm
Alvin Ramard (9/14/2010)
WayneS (9/14/2010)
Chad Crawford (9/14/2010)
Alvin Ramard (9/14/2010)
Chad Crawford (9/14/2010)
If only you and DEAD people can read Hex, how many people can read Hex?
Ah darn! I ran...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
September 14, 2010 at 1:52 pm
Chad Crawford (9/14/2010)
Alvin Ramard (9/14/2010)
Chad Crawford (9/14/2010)
If only you and DEAD people can read Hex, how many people can read Hex?
Ah darn! I ran out of fingers...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
September 14, 2010 at 1:29 pm
Yep, two hits against a temp table (especially with an index) can be cheaper than two hits against a nasty CTE.
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
September 14, 2010 at 1:19 pm
petervdkerk (9/14/2010)
I want to select if the column thumbid holds a value larger than 0.
If the column value...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
September 14, 2010 at 1:16 pm
Viewing 15 posts - 3,211 through 3,225 (of 5,588 total)