Viewing 15 posts - 5,071 through 5,085 (of 5,590 total)
lmu92 (7/5/2009)
Peso (7/5/2009)
This results in an empty result....
July 5, 2009 at 9:35 am
paulneyman (7/5/2009)Is it posible? 🙂
Not with an identity column. If you really need this, you may need to do it in a trigger.
July 5, 2009 at 9:26 am
Digs (7/4/2009)
Here is another tab split function that I pulled from a SQL 2000 book by Andrew Novick : Transact SQL UDFsWhich is better Lynns or Andrews ??? 😎
First, I...
July 4, 2009 at 8:19 pm
Jeff Moden (7/4/2009)
July 4, 2009 at 2:58 pm
Peso (7/4/2009)
1. XML is case sensitive.
2. Run the code again, after fixing the case sensitive elements, with this test data
insert into #temp values ('I like Ike...
July 4, 2009 at 2:44 pm
This is going to leave a lot of people guessing at what you're looking for.
If someone starts looking at a range of numbers, is that range then put into this...
July 4, 2009 at 12:38 pm
waleed_m_M (7/4/2009)
thanksare you of this information? is there any reference for this information?
thanks
I think that this might be a good read for you: Comparing Table Variables to Temporary Tables[/url]
July 4, 2009 at 12:32 pm
Jeff Moden (7/4/2009)
...Thanks for the testing ideas, though... I've got a couple of different things I've been trying and this adds to those.As you requested, on my old box, ...
Thanks...
July 4, 2009 at 12:26 pm
Jeff Moden (7/4/2009)
... I just wanted to make sure that yours had a Clustered PK on it because a lot of folks forget that. Thanks, Wayne.
Ahh, now I...
July 4, 2009 at 12:16 pm
Jeff Moden (7/4/2009)
July 4, 2009 at 11:39 am
Jeff Moden (7/4/2009)
How many time have you had to split something in real production work that actually consisted of more than 8k bytes? What...
July 4, 2009 at 11:27 am
Jeff Moden (7/4/2009)
WayneS (7/3/2009)
@jeff - would you mind trying out this little piece of code and let me know how fast it is on your "computer in a deathbox"?:-D
No problem......
July 4, 2009 at 11:26 am
You might want to consider using XML.
if object_id('tempdb..#temp') is not null drop table #temp
create table #temp(record varchar(100))
insert into #temp values ('I like SQL Server')
;with CTE AS
(
select RowNbr = row_number() OVER...
July 4, 2009 at 9:40 am
Since the original poster deleted his post, I'm speculating (from the reply post) that he wanted to get just the file name from a full path filename.
A slightly better way...
July 4, 2009 at 9:24 am
Doctor Who 2 (7/4/2009)
July 4, 2009 at 9:16 am
Viewing 15 posts - 5,071 through 5,085 (of 5,590 total)