Viewing 15 posts - 5,281 through 5,295 (of 5,588 total)
Hey friends, please help me out here. I'd really like to have an understanding of why this changed.
Thanks!
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 4, 2009 at 11:38 am
Jeff Moden (6/3/2009)
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 4, 2009 at 5:09 am
Paul White (6/3/2009)
One thing to mention is that the article is the first of a series
Well, actually it's the second in a series.
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 4, 2009 at 5:01 am
Jeff Moden (6/3/2009)
Heh... understood about writing cursors... I only do it when I want to show how bad they can really be and I have to lookup how to make...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 3, 2009 at 8:25 pm
Jeff Moden (6/3/2009)[hrThe other reason to do this is that I've recently got a call from OSHA. They told me if one more person rides my hiney about this,...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 3, 2009 at 8:23 pm
Lowell (6/3/2009)
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 3, 2009 at 8:14 pm
This article[/url] is about using XML for string manipulations, but it does explain (and show) how these different XML parts work.
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 3, 2009 at 8:06 pm
How's this?
if object_id('tempdb..#Temp') is not null DROP TABLE #Temp
CREATE TABLE #Temp (
LineText varchar(max))
-- you will need to replace this with a bulk insert.
-- I'm using this just to...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 3, 2009 at 8:02 pm
computer.mike (6/3/2009)
where (Customer >= @BeginCustomer OR @BeginCustomer is null)
and (Customer = @BeginCustomer and Customer <= @EndCustomer
GO
[/code]
In this way, each separate procedure has an...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 3, 2009 at 6:55 pm
Sam Lowry (6/3/2009)
I'm running into an sql query optimization issue that I would like to share and get help to overcome it best.
The environment is based on SQL 2008 Express...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 3, 2009 at 6:38 pm
byron.vanwyk (6/3/2009)
I couldn't quite understand exactly what you did 🙂 but took some stuff you used and added it to my query. The result ........
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 3, 2009 at 6:25 pm
ramadesai108 (6/3/2009)
Hi Bob,Converting the results to VarChar did fix it. Thanks for your help.
Now you are doing a lot of extra work. After your IsNumeric check, just...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 3, 2009 at 6:17 pm
rs80 (6/3/2009)
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 3, 2009 at 6:08 pm
Bulk Insert into a staging table.
Use the "Quirky" update method to strip each row apart into it's parts.
If you can provide sample data, people on this web site will bend...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 3, 2009 at 6:05 pm
pvasudha (6/3/2009)
But this does not work if i have more ids.
For each id its giving me all dates.But it should only give me max date within 5 days...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 3, 2009 at 5:53 pm
Viewing 15 posts - 5,281 through 5,295 (of 5,588 total)