Viewing 15 posts - 5,026 through 5,040 (of 5,588 total)
maureen,
You might want to look here. Just keep your semicolon in the excel spreadsheet, but then split the words apart with one of the several excellent methods mentioned there.
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
July 9, 2009 at 7:47 pm
If you want the physical database files:
select [Logical Name] = [name],
[Physical Name] = physical_name
from sys.database_files
if you want the tables and columns...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
July 9, 2009 at 7:42 pm
sandi5980 (7/9/2009)
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
July 9, 2009 at 7:35 pm
Paul White (7/9/2009)
Bruce W Cassidy (7/9/2009)
Paul White (7/9/2009)
do you really think the question is faulty?
[font="Verdana"]Well, COALESCE is a SQL standard function, not just T-SQL. So perhaps the question is......
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
July 9, 2009 at 7:29 pm
GilaMonster (7/9/2009)
http://sqlinthewild.co.za/index.php/2009/01/19/index-columns-selectivity-and-equality-predicates/
http://sqlinthewild.co.za/index.php/2009/02/06/index-columns-selectivity-and-inequality-predicates/
That's the order...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
July 9, 2009 at 3:26 pm
Lynn Pettis (7/9/2009)
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
July 9, 2009 at 2:45 pm
I think :
1. that the first question was definitely fair.
2. the second question is beyond using sql at a fairly basic level, but still a good question (maybe this...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
July 9, 2009 at 7:11 am
Jeff Moden (7/8/2009)
If you want a real kick, try the side bar I mention in the very last comment... Surprise! 😉
Well, after testing it, I don't know what to say....
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
July 8, 2009 at 10:05 pm
Jeff Moden (7/8/2009)
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
July 8, 2009 at 9:35 pm
Hi Jeff,
Since the REPLACE function doesn't work on text data types, I think the reason for the cursor was that he was using the UpdateText function. This requires you to...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
July 8, 2009 at 9:15 pm
kenny_scriber (7/7/2009)
Thank you to everyone that responded! I will post the final code once i implement it.
Great! It's always nice to see the solution that you end up implementing... it...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
July 8, 2009 at 5:41 am
karthimca07 (7/8/2009)
Tab_Token_Master(Transid,Token_starts_from,Token_Ends_To,Token_value)
Tab_Token_Details(Transid,Token_No,Token_Value,Token_Status)
[p]The first table is used to store the token starting number and end number.[/p]
[p]for example (staring number)1 to 100(ending number). so i have to insert token1,token2...token100...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
July 8, 2009 at 5:37 am
There are some characters that are "special" to XML; if they are present in the string they will cause the string to not be converted into XML. If you're going...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
July 8, 2009 at 5:29 am
drewsx2 (7/7/2009)
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
July 7, 2009 at 6:05 pm
Lamprey13 (7/7/2009)
This will probably work, but you cannot guarantee that it'll work based on the PK order.
Thanks for pointing that out... I've edited the post to include the necessary hints...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
July 7, 2009 at 5:48 pm
Viewing 15 posts - 5,026 through 5,040 (of 5,588 total)