Viewing 15 posts - 3,646 through 3,660 (of 5,588 total)
Steve Jones - Editor (8/19/2010)
I need to install it and play with it. Haven't done it so far since I...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
August 19, 2010 at 11:45 am
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 18, 2010 at 10:07 pm
I would suggest:
1. Using a Common Table Expression (CTE), get all the values of the table. Utilize the row_number function to assign row numbers to each row, starting at one...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
August 18, 2010 at 9:46 pm
I don't think you need to worry about using SSIS - you can drastically speed this up in T-SQL.
First, make this change to the first 3 functions to quickly create...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
August 18, 2010 at 9:36 pm
I would suggest adding the email addresses to a temp table, then do the update by joining on that.
i.e.
CREATE TABLE #tempEmail (EmailAddress varchar(100))
INSERT INTO #tempEmail
SELECT 'asdf@snarf.com' UNION ALL
SELECT 'qwerty@reddit.com'...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
August 18, 2010 at 2:33 pm
Attn: all User Group presentation coordinators. I've been working on converting my article on Comparing Table Variables with Temporary Tables[/url] into a presentation. If you're interested in having me do...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
August 17, 2010 at 9:30 pm
CirquedeSQLeil (8/17/2010)
WayneS (8/17/2010)
Which brings up a question: How do you'll handle it when things like this are done to the database servers you're responsible for?
I find out who did it...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
August 17, 2010 at 4:29 pm
CirquedeSQLeil (8/13/2010)
Brandie Tarvin (8/13/2010)
CirquedeSQLeil (8/13/2010)
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
August 17, 2010 at 4:10 pm
Gianluca Sartori (8/12/2010)
Paul White NZ (8/12/2010)
David Benoit (8/12/2010)
Paul White NZ (8/12/2010)
You can name constraints on # and ## temporary tables, but it is a pretty bad idea.
I haven't had a...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
August 17, 2010 at 4:05 pm
jcrawf02 (8/12/2010)
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
August 17, 2010 at 3:57 pm
hemagkv (8/11/2010)
i get an error at from with the update statment.can't we do this with a single query? stored procedure?
You can do this with a single query only if you're...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
August 11, 2010 at 5:33 pm
I thought that to use a configuration file, that you had to specify it in the SSIS package itself? I thought that was how it knew to load it.
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
August 11, 2010 at 5:25 pm
You are going through a very rough way of doing this.
I'd not worry about the system databases. Instead, I'd worry about the data in them that is needed to bring...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
August 11, 2010 at 5:23 pm
I agree. Makes me wonder if this might have been something that was discovered in one of the older versions of SQL... 6.5/7 and you know how people hang on...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
August 11, 2010 at 10:03 am
You know John, the people that help out here are all un-paid volunteers. Providing the DDL scripts (CREATE TABLE, CREATE INDEX, etc.) for the tables affected, and INSERT statements to...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
August 11, 2010 at 9:29 am
Viewing 15 posts - 3,646 through 3,660 (of 5,588 total)