Forum Replies Created

Viewing 15 posts - 5,071 through 5,085 (of 5,590 total)

  • RE: SQL Split query

    lmu92 (7/5/2009)


    Peso (7/5/2009)


    In your CTE, ROW and VALUE elements are upper case, and in your cross apply the row and value path are lower case.

    This results in an empty result....

  • RE: Composite primary key & auto increment problem

    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.

  • RE: SQL brian teaser...

    Digs (7/4/2009)


    Here is another tab split function that I pulled from a SQL 2000 book by Andrew Novick : Transact SQL UDFs

    Which is better Lynns or Andrews ??? 😎

    First, I...

  • RE: SQL brian teaser...

    Jeff Moden (7/4/2009)


    You bet, Wayne. Thanks for answering my seemingly unrelated questions. They go far in helping me understand the needs of folks so I can setup certain...

  • RE: SQL Split query

    Peso (7/4/2009)


    Good effort but won't work.

    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...

  • RE: Concurrency, Insert Into A Table To Capture A Range Of Numbers

    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...

  • RE: "derived table" invalid object name

    waleed_m_M (7/4/2009)


    thanks

    are 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]

  • RE: SQL brian teaser...

    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...

  • RE: SQL brian teaser...

    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...

  • RE: SQL brian teaser...

    Jeff Moden (7/4/2009)


    Last but not least, Wayne... I ran your code and the XML section returns nothing. Perhaps the forum ate some of your code. Can you attach...

  • RE: SQL brian teaser...

    Jeff Moden (7/4/2009)


    Also, please answer the following questions:

    How many time have you had to split something in real production work that actually consisted of more than 8k bytes? What...

  • RE: SQL brian teaser...

    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......

  • RE: SQL Split query

    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...

  • RE: select query

    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...

  • RE: Limit to the number of records in SQL Developer?

    Doctor Who 2 (7/4/2009)


    I've got SQL Server 2005 Developer Edition loaded on my home PC, which I do development against. I know there is a limit to the file...

Viewing 15 posts - 5,071 through 5,085 (of 5,590 total)