Viewing 15 posts - 2,941 through 2,955 (of 5,588 total)
AndrewSQLDBA (10/11/2010)
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
October 11, 2010 at 5:26 pm
It looks like the only difference between the first three sections is in the where clause - specifically in the # of days being selected. Is this correct?
The dateadd(hh,0,) part...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
October 11, 2010 at 5:04 pm
george sibbald (10/11/2010)
WayneS (10/10/2010)
Any suggestions on good, inexpensive, close places...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
October 11, 2010 at 1:44 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
October 11, 2010 at 7:44 am
Jeff Moden (10/10/2010)
WayneS (10/10/2010)
Any suggestions on good, inexpensive, close places...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
October 11, 2010 at 7:28 am
Well, SSIS does use the Jet driver, via OpenRowSet, to work with Excel files. So, this link will probably help you out. You would just need to add it to...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
October 10, 2010 at 10:31 pm
Here is the latest version of the Delimited Split Function.
You would use it like:
declare @test varchar(20);
set @test = '2,7,12';
SELECT ID = convert(int, Item)
FROM dbo.DelimitedSplit8K(@test, ',') ds;
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
October 10, 2010 at 10:16 pm
Jeff Moden (10/10/2010)
Gianluca Sartori (10/8/2010)
At last, Mr. Celko gives a polite and useful answer to a poor-worded question.It's nice to see everyone can learn.
Heh... the lion sleeps. That wasn't...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
October 10, 2010 at 10:03 pm
Hey gang... not definite yet, but my wife is talking about letting me spend the $ to go to PASS. 😀
Any suggestions on good, inexpensive, close places to stay? Guys...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
October 10, 2010 at 9:25 pm
Well, you quoted my article. And that is how I fixed exactly those same issues... except I had thousands instead of hundreds.
There's only two ways to fix the problem. Follow...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
October 10, 2010 at 9:21 pm
Thanks for your responses guys. It's right in line with what I was thinking, but it's always good to get the double-check.
Now, I just gotta get used to using the...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
October 10, 2010 at 9:15 pm
Jeff Moden (10/10/2010)
WayneS (10/10/2010)
DECLARE @String1 varchar(8000),
@String2 varchar(8000);
SET @String1 = 'a,b,c,d';
SET @String2 = 'apple,boy,college,dog';
SELECT a.Item,...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
October 10, 2010 at 5:52 pm
Mordred (10/9/2010)
I am a student who is relatively new to SQL. While I am not looking for someone to do my work for me,...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
October 10, 2010 at 3:52 pm
Ninja's_RGR'us (10/10/2010)
GilaMonster (10/7/2010)
TheSQLGuru (10/7/2010)
I wonder if the top 10 posters aren't 10 or more percent of the total posts.
If you do the maths, it works out that...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
October 10, 2010 at 2:55 pm
Using the DelimitedSplit8K function, you would end up with:
DECLARE @String1 varchar(8000),
@String2 varchar(8000);
SET @String1 = 'a,b,c,d';
SET @String2 = 'apple,boy,college,dog';
SELECT a.Item, b.Item
FROM...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
October 10, 2010 at 1:50 pm
Viewing 15 posts - 2,941 through 2,955 (of 5,588 total)