Viewing 15 posts - 4,606 through 4,620 (of 5,588 total)
Jack Corbett (3/24/2010)
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
March 24, 2010 at 1:27 pm
It depends. Are there any non-clustered indexes on that table?
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
March 24, 2010 at 12:51 pm
Jack Corbett (3/24/2010)
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
March 24, 2010 at 12:02 pm
ronaldkrex (3/24/2010)
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
March 24, 2010 at 11:54 am
PaulB-TheOneAndOnly (3/24/2010)
upper(Name) LIKE upper(@Name) or @Name IS NULLalso remember to add "%" ... like in: upper(name) like upper('Jerem%')
Using a function on the field being searched is going to negate any...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
March 24, 2010 at 11:51 am
How does this work?
exec ('declare @cnt int;select @cnt=count(*) from ' + @nome + 'sys.objects where name = ''sp_actualizaaut'';if @cnt > 0 select ''ola'' else select ''no ola''')
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
March 24, 2010 at 11:46 am
I think this will do it for you.
-- see how the test data can be put into a table? It sure helps others to not have to do this!
declare @test-2...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
March 24, 2010 at 11:26 am
Based on the single row of test data you supplied, and assuming that all other rows are in the same exact format, this will work:
declare @test-2 table (MixedData varchar(50))
insert into...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
March 24, 2010 at 11:09 am
This looks interesting, and I'd like to help you out, but there just isn't enough information to begin. So, to start off, please read the first link in my signature...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
March 24, 2010 at 10:53 am
nwoolls (3/24/2010)
A little background on that syntax: we used...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
March 24, 2010 at 10:10 am
Gianluca Sartori (3/24/2010)
You definitely have to check out this[/url] and this.Very funny.
I knew I had seen this, but I thought it was on this site. Thanks for the links.
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
March 24, 2010 at 9:12 am
Paul White NZ (3/24/2010)
sku370870 (3/23/2010)
Can you mark posts as resolved on this forum?
No, because you never know when someone else might find the question or discussion interesting and make another...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
March 24, 2010 at 9:00 am
Very nice. I didn't know about this.
It seems that you can only have one web tab open though... it would be REALLY nice if you could open up multiple tabs.
Then...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
March 24, 2010 at 8:44 am
Barry!!! Welcome Back!!!
Hope everything went well with your surgery.
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
March 23, 2010 at 7:38 pm
tstaker (3/23/2010)
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
March 23, 2010 at 7:34 pm
Viewing 15 posts - 4,606 through 4,620 (of 5,588 total)