Forum Replies Created

Viewing 15 posts - 5,146 through 5,160 (of 7,614 total)

  • RE: SQL query help

    CELKO (4/24/2015)


    Of course there is, since you can cast the number to a string any time you want, although you'd never need to compute a check digit that's already...

  • RE: how to assess a sql expert for a job?

    You could also do searches for similar jobs and see what their job descriptions look like. After all, one of the greatest documents in history, the "Declaration of Independence",...

  • RE: SQL query help

    CELKO (4/23/2015)

    Getting back to check digits, the encoding has to be in a string because the weights are assigned by position. There is no concept of a position in an...

  • RE: SQL query help

    CELKO (4/23/2015)


    I might need to search by only a single element, particularly the one for English-language. Or to find books by a specific publisher.

    The ISBN is atomic; it...

  • RE: Concatenate multiple rows from one table, associated to column in second table having multiple values

    I believe the code needs slight corrections to prevent a match on part of the code value rather than whole value, as demonstrated below:

    CREATE TABLE #ids(id int, codes varchar(30))

    CREATE TABLE...

  • RE: SQL query help

    CELKO (4/23/2015)


    ISBN is displayed with dashes for human convenience, but it's actually composed of elements .. again, under the rules for 1NF, each of those should be stored...

  • RE: SQL query help

    Bill Talada (4/23/2015)


    ScottPletcher (4/23/2015)


    Stripping out delimiters should never eliminate information from the data. If you need to, you can set a tinyint code that reflects the meaning of the...

  • RE: SQL query help

    Lynn Pettis (4/23/2015)


    ScottPletcher (4/23/2015)


    Stripping out delimiters should never eliminate information from the data. If you need to, you can set a tinyint code that reflects the meaning of the...

  • RE: SQL query help

    Stripping out delimiters should never eliminate information from the data. If you need to, you can set a tinyint code that reflects the meaning of the delimiters. I'm...

  • RE: Converting job duration from Job History and use it on email notifications

    If you remove the "AND jh.step_id =0" you can see the steps that have completed.

    But "step 0" can't be posted until the whole job completes, since that is the job...

  • RE: Converting job duration from Job History and use it on email notifications

    The step is not posted in sysjobhistory until it completes. If the job is still running, you will get the previous job.

    If you need to get only the last...

  • RE: Converting job duration from Job History and use it on email notifications

    DOUBLE DOH! I just noticed I left of the step# check in the code; please add this to the WHERE clause:

    AND jh.step_id = 0

    That code is checking for the...

  • RE: SQL query help

    ZZartin (4/23/2015)


    ScottPletcher (4/23/2015)


    Lynn Pettis (4/23/2015)


    ScottPletcher (4/23/2015)


    Lynn Pettis (4/23/2015)


    CELKO (4/22/2015)


    Why are you changing obvious integer data types to character data types?

    Please read any book on basic data modelling and look...

  • RE: SQL query help

    Lynn Pettis (4/23/2015)


    ScottPletcher (4/23/2015)


    Lynn Pettis (4/23/2015)


    CELKO (4/22/2015)


    Why are you changing obvious integer data types to character data types?

    Please read any book on basic data modelling and look at the...

  • RE: SQL query help

    Lynn Pettis (4/23/2015)


    CELKO (4/22/2015)


    Why are you changing obvious integer data types to character data types?

    Please read any book on basic data modelling and look at the chapters on scales...

Viewing 15 posts - 5,146 through 5,160 (of 7,614 total)