Forum Replies Created

Viewing 15 posts - 496 through 510 (of 5,502 total)

  • RE: Constraint to prevent UPDATE after row is committed

    Let's assume the requirement to store the file in a table is really required (instead of just the insert of a link to the file system...).

    If it needs to be...



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • RE: Why this query doesn't work

    Something like this?

    SELECT

    A.Account,

    A.Symbol,

    SUM(CONVERT(INT, A.exeQty)) / 2,

    CASE

    WHEN SUM(CONVERT(INT, A.exeQty)) / 2 < 1000 THEN 'Chunk 1'

    WHEN SUM(CONVERT(INT, A.exeQty)) / 2...



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • RE: Why this query doesn't work

    There's a missing GROUP BY:

    SELECT

    A.Account,

    A.Symbol,

    SUM(CONVERT(INT, A.exeQty)) / 2

    FROM

    ( SELECT

    RPM.Account,

    RPM.Symbol,

    ...



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • RE: sql server error 17053

    duplicate post. no replies please.

    Discussion already started here.



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • RE: sql server error 17053

    duplicate post. no replies please.

    Discussion already started here.



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • RE: sql server error 823

    duplicate post. no replies please.

    Already discussed here



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • RE: sql server error 823

    duplicate post. no replies please.

    Already discussed here



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • RE: sql server error 823

    duplicate post. no replies please.

    Already discussed here



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • RE: multiple attributes

    I wonder if the following scenario should be implemented, too:

    One person can play different instruments in either the same band or in different bands (e.g. Bass guitar and Acoustic guitar).



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • RE: When is a reporting task/project too big for Excel?

    From my point of view there's no valid argument for comparing Excel and a relational database (or the baby version of it AKA MS ACCESS):

    Excel is a bunch of spreadsheets...



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • RE: Sorting comma separated numbers

    It seems like you also decided not to use the split function based on the link I referenced in my signature.

    How do you expect us to help you if you...



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • RE: how to write an insert store for a input like 1_2|3_4 it should get seprated and stored in...

    I already did. See the code snippet above. It returns almost exactly what you're looking for.

    It shouldn't be too hard to adjust it to your needs.



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • RE: Sorting comma separated numbers

    I've asked you to run the code I posted. Why don't you just do that?

    The code you've posted is different.

    If you complain the code doesn't work, it might very well...



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • RE: Sorting comma separated numbers

    Please post the code you're running.

    The code runs just fine on my system.



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • RE: how to write an insert store for a input like 1_2|3_4 it should get seprated and stored in...

    Using the DelimitedSplit8K function refernced in my signature I would start with

    DECLARE @RowColumn VARCHAR(30)

    SET @RowColumn ='1_2|2_3|1_3'

    SELECT

    Itemnumber AS adbid ,

    LEFT(item,CHARINDEX('_',item,1)-1) AS [row] ,

    STUFF(item,1,CHARINDEX('_',item,1),'') AS [column]

    FROM ...



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

Viewing 15 posts - 496 through 510 (of 5,502 total)