Viewing 15 posts - 4,231 through 4,245 (of 5,588 total)
huston.dunlap (4/30/2010)
Let us say I am attempting to solve some...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
April 30, 2010 at 6:20 pm
CirquedeSQLeil (4/30/2010)
Lynn Pettis (4/30/2010)
Steve Jones - Editor (4/30/2010)
Don't fret about $10-20 a month difference. Pick the best...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
April 30, 2010 at 6:15 pm
Lynn Pettis (4/30/2010)
Me thinks that questions like today's QotD should be on the SSCJ core exam.
I'll be curious if you think the QOD's I have coming up (on indexes... only...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
April 30, 2010 at 6:13 pm
CirquedeSQLeil (4/30/2010)
Lynn Pettis (4/30/2010)
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
April 30, 2010 at 10:59 am
Forget the cursor... try this instead.
-- See how this starts off with a table and data in it?
-- If you had provided us the data in this format,
-- it...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
April 30, 2010 at 10:53 am
Not sure if this does what you need, but check out this link, specifically the XMLNAMESPACES. There's an example about 3/4 of the way down the page.
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
April 30, 2010 at 9:57 am
CirquedeSQLeil (4/30/2010)
WayneS (4/30/2010)
CirquedeSQLeil (4/30/2010)
Has anybody here ever tried setting their sa account password to contain emoticons? Or any sql logon password for that matter.
sa...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
April 30, 2010 at 8:51 am
CirquedeSQLeil (4/30/2010)
Has anybody here ever tried setting their sa account password to contain emoticons? Or any sql logon password for that matter.
sa password =...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
April 30, 2010 at 5:10 am
I like the idea of doing this, if it's actually performed by a third party and only aggregated results are sent to the company.
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
April 30, 2010 at 4:59 am
Hugo Kornelis (4/30/2010)
One minor letdown (hey! Other people moan about my questions, I get to moan back;-)) is the ambiguity...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
April 30, 2010 at 4:32 am
Use this function:
CREATE FUNCTION [dbo].[DelimitedSplit] (
@list varchar(max),
@Delimiter char(1)
)
RETURNS TABLE
AS
RETURN
-- first, need to break down into separate items.
-- See Jeff Moden's article The "Numbers" or "Tally" Table: What it is and...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
April 29, 2010 at 8:09 pm
CirquedeSQLeil (4/29/2010)
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
April 29, 2010 at 7:53 pm
jcrawf02 (4/29/2010)
Wayne, why the isnull() and max()?Why not just
case when sp.action = 193 then 'Y' else 'N' end?
I realized I could have dropped the IsNull and just put...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
April 29, 2010 at 2:07 pm
GabyYYZ (4/29/2010)
Lynn Pettis (4/29/2010)
WayneS (4/29/2010)
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
April 29, 2010 at 1:59 pm
Lynn Pettis (4/29/2010)
Agreed, cursors have their place, there just is just a lot of places where they are inappropriate.
IMO, the best place for cursors is in other peoples code... when...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
April 29, 2010 at 1:56 pm
Viewing 15 posts - 4,231 through 4,245 (of 5,588 total)