Forum Replies Created

Viewing 15 posts - 46 through 60 (of 86 total)

  • RE: Need to find continues number ranges

    Sean Lange (12/19/2013)


    Not quite sure what you want for output? What should the query do or return?

    query should return if 10 continues nos is available in unused state ...

  • RE: Need to find continues number ranges

    Sean Lange (12/19/2013)


    vignesh.ms (12/19/2013)


    Hi There,

    Please consider the following data

    create table #sampletbl

    (

    Category varchar(100),

    Numbers varchar(100),

    Status varchar(100)

    )

    insert into #sampletbl values ('A','29710000001','0')

    insert into #sampletbl values ('A','29710000002','0')

    insert into #sampletbl values ('A','29710000003','0')

    insert into #sampletbl values...

  • RE: Doubt in error handling

    All I know is ,

    It will give us the dirty data ...

    (ie)if update is going on, then it would not care about current values.. it will result whatever there on...

  • RE: Add Total to the query

    PSB (12/18/2013)


    Fi,

    I have a table with the Group name and Total Count by group . I need to add a 'Total' and summation of all counts at the end ....

  • RE: Doubt in error handling

    GilaMonster (12/18/2013)


    vignesh.ms (12/18/2013)


    If I parse the above query using ctrl+f5 it wont give any error. Then how we say it is a parse time error?

    Because it occurs before execution starts....

  • RE: Doubt in error handling

    Michael Valentine Jones (12/17/2013)


    The catch is a run-time error handler, but the error you are getting is a parse time error that happens before the query is run.

    I agree with...

  • RE: how to set some restriction on table names while creating?

    oh okay...

    thanks for the reply

  • RE: how to set some restriction on table names while creating?

    Can I have query for creating triggers to achieve this ???

  • RE: Comma separated column output.

    Koen Verbeeck (11/19/2013)


    Concatenating Row Values in Transact-SQL[/url]

    Thanks. good one teaches me a lot.

  • RE: How to find whether an object is used by any sp , view ?

    Thanks Lowell exactly what i need...

  • RE: Need help on optimizing query

    @ Cadavre :

    Thanks for your understanding

    Please explain how it works...?

  • RE: Need help on optimizing query

    Cadavre (11/6/2013)


    Here's some code that replaces your loop and does the same job: -

    -- Sample data

    IF object_id('tempdb..#sample') IS NOT NULL

    BEGIN;

    DROP TABLE #sample;

    END;

    CREATE TABLE #sample (saledate DATETIME,...

  • RE: Need help on optimizing query

    Thanks for your replies friends...

    * My query works what I'm intended to do.

    * My expectation is I dont want to hard code the date.

    I tried myself, following is...

  • RE: Help On Query

    Erland Sommarskog (9/17/2013)


    vignesh.ms (9/17/2013)


    this is very urgent somebody help...

    In addition to Sean's comment - you also help yourself by using a more descriptive subject line for your post. I've noticed...

  • RE: Help On Query

    Sean Lange (9/17/2013)


    When something is really urgent it would benefit you to provide more details. Doing this quickly is going to depend on your meaning of quickly. Certainly using a...

Viewing 15 posts - 46 through 60 (of 86 total)