Viewing 15 posts - 4,606 through 4,620 (of 5,590 total)
You can do this using the PIVOT operator. See this BOL link for details.
-- see how this starts off with a table and data in it?
-- if you had provided...
March 24, 2010 at 2:20 pm
This link provides some information that might help you out.
March 24, 2010 at 1:54 pm
Jack Corbett (3/24/2010)
March 24, 2010 at 1:27 pm
Jack Corbett (3/24/2010)
March 24, 2010 at 12:02 pm
ronaldkrex (3/24/2010)
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...
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''')
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...
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...
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...
March 24, 2010 at 10:53 am
nwoolls (3/24/2010)
A little background on that syntax: we used...
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.
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...
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...
March 24, 2010 at 8:44 am
Viewing 15 posts - 4,606 through 4,620 (of 5,590 total)