Viewing 15 posts - 5,221 through 5,235 (of 5,588 total)
Whoops, I didn't notice that you were in the SSIS forum - I gave you a T-SQL solution.
I'll have to let someone that knows SSIS better answer this.
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 11, 2009 at 9:19 pm
declare @CRLF = char(13) + char(10)
set @YourString = replace(@YourString, @CRLF + @CRLF, @CRLF)
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 11, 2009 at 7:51 pm
mjarsaniya (6/11/2009)
select name,surnamefrom emp
where id in(@LIST)
I want to pass @list at runtime.
Is it possible.
I outline my favorite way in Using XML to Enhance the Performance of String Manipulations[/url].
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 11, 2009 at 6:41 pm
Cynthia DuBose (6/11/2009)
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 11, 2009 at 6:28 pm
select
[ZIP] = replace(left([CAD3],6), ' ', ''),
[City] = substring([CAD3], 7, len([CAD3]))
from crm5.CAD3
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 11, 2009 at 6:15 pm
Grant Fritchey (6/11/2009)
WayneS (6/10/2009)
A reader of my article today asked a very good question that I'm not sure what the answer would be. I'm hoping that someone along the...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 11, 2009 at 9:16 am
Gail, thank you for jumping in and answering this for me. You knowledge of how indexes work far surpasses mine.
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 11, 2009 at 3:30 am
I assume you have data like:
declare @test table (colA int, colB varchar(50))
insert into @test
select 1, 'plain text' union
select 2, 'csv,data,in,this,row'
select * from @test
A properly formatted CSV file is not just...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 11, 2009 at 3:26 am
You might also want to check the port. The default port is 1433, but you might have changed it during the installation. Or, the previous installation might have been different,...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 11, 2009 at 2:24 am
This might help you out.
http://www.lmgtfy.com/?q=sql+server+2005+move+tempdb+site%3Amicrosoft.com
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 11, 2009 at 2:19 am
Cynthia DuBose (6/10/2009)
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 11, 2009 at 2:14 am
jain_abhishek (6/11/2009)
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 11, 2009 at 2:03 am
Yes
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 11, 2009 at 1:37 am
Nick Beagley (6/10/2009)
From SQL2008 BOL: http://msdn.microsoft.com/en-us/library/ms175010.aspx
Queries that modify...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 10, 2009 at 8:50 pm
Lynn Pettis (6/10/2009)
WayneS (6/10/2009)
A reader of my article today asked a very good question that I'm not sure what the answer would be. I'm hoping that someone along the...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 10, 2009 at 6:49 pm
Viewing 15 posts - 5,221 through 5,235 (of 5,588 total)