Forum Replies Created

Viewing 15 posts - 61 through 75 (of 144 total)

  • RE: Reset of Identity

    nice question... 😀

  • RE: Data types in tables

    Louis Hillebrand (6/11/2013)


    The final select returns '10' and '2012-10-10'

    Louis.

    +1....

    First 2 statements give me error.. but Third statement is success and give result set..

    There is no any conversion error...

  • RE: Usage of Null

    Carlo Romagnano (6/5/2013)


    Starting from SQL2000 SET ANSI_NULLS OFF is a real deprecated option.

    From BOL:

    In a future version of SQL Server, ANSI_NULLS will always be ON and any applications that explicitly...

  • RE: TOP and ORDER BY

    Lokesh Vij (6/3/2013)


    Srinivas.Pendyala (6/3/2013)


    what about the 5 th value,why it is not giving output of 5?

    Srinivas, The idea here is we are using "TOP(6) WITH TIES", initially "TOP 6"...

  • RE: Use of Key Column

    CREATE TABLE #temp

    (

    ID int PRIMARY KEY,

    Name varchar(900)

    CONSTRAINT UN_Name UNIQUE(Name)

    );

    The #temp table created with 900 bytes, but

    CREATE TABLE #temp

    (

    ID int PRIMARY KEY,

    Name varchar(1000)

    CONSTRAINT UN_Name UNIQUE(Name)

    );

    if i try to...

  • RE: REPLICATE

    Danny Ocean (5/22/2013)


    Basic and easy one.:-)

    Thanks for question !!!

    +1

  • RE: INSERT

    Hugo Kornelis (5/23/2013)


    I'm little bit confused with your explaination,

    I knew that neither statement would execute when sent as a single batch.

    I didn't understand this part. can you...

  • RE: EXCEPT - 1

    EXCEPT returns any distinct values from the left query that are not also found on the right query. The key to this is of course the use of DISTINCT.

    Really...

  • RE: CHARINDEX()

    nice basic question....:-)

  • RE: Temp Tables

    If more than one temporary table is created inside a single stored procedure or batch, they must have different names

    ms-help://MS.SQLCC.v10/MS.SQLSVR.v10.en/s10de_6tsql/html/1e068443-b9ea-486a-804f-ce7b6e048e8b.htm

    Obviously SQL Server does not care if the two create table...

  • RE: SSMS Error Message

    Mighty (5/27/2013)


    Nice start of the week.

    One remark though:

    ...if you run code that generates an actual error

    This not only works when an error has been generated. Any message that...

  • RE: Data Type

    Danny Ocean (5/10/2013)


    Good question, but Explanation is not completed or require more details.

    I think hugo can help us.

    thanks... nice question...

  • RE: The Subquery

    Danny Ocean (5/8/2013)


    unfortunately, i trapped in this question. :crying:

    But i learn something new. 🙂

    Thanks reddy

    me too.. But it will be helped in my future...

    thanks nice question....

  • RE: Create Table

    nice and easy question....

  • RE: REPLICATE - 1

    nice question....

Viewing 15 posts - 61 through 75 (of 144 total)