Forum Replies Created

Viewing 15 posts - 136 through 150 (of 216 total)

  • RE: ALTER

    good Question.Learned some new point about nulls

    Malleswarareddy
    I.T.Analyst
    MCITP(70-451)

  • RE: Are we in all these cities?

    I got wrong.Because i did not observe the semicolon.

    Malleswarareddy
    I.T.Analyst
    MCITP(70-451)

  • RE: Different between CTE, Temp Table, and Variable Table

    CTE is new feature in SQL server in 2005 which uses the result set as a table and you can join the result set with some more table.CTe is use...

    Malleswarareddy
    I.T.Analyst
    MCITP(70-451)

  • RE: Table Variable :Doesn't care

    I didn't execute the code, but I was definitely helped by the title, "Table Variable: Doesn't Care"... All the same, it's a good question that's pointing out interesting and completely...

    Malleswarareddy
    I.T.Analyst
    MCITP(70-451)

  • RE: Split string using Tally Table

    hugo explanation is good

    Malleswarareddy
    I.T.Analyst
    MCITP(70-451)

  • RE: What will be the output of the following?

    sheik (6/27/2010)


    The table should be created with the identity (-1,-1). Then only we can get this result. Must be a typo error???.

    It's correct.

    Malleswarareddy
    I.T.Analyst
    MCITP(70-451)

  • RE: What will be the output of the following?

    Create Table MyTable( mainkey int not null identity (-1,1))

    GO

    insert into MyTable default values insert into MyTable default values insert into MyTable default values

    Select * from MyTable

    this will give result...

    Malleswarareddy
    I.T.Analyst
    MCITP(70-451)

  • RE: "SELECT @local_variable"

    good question. but i also expected that result is A,B,C.

    Malleswarareddy
    I.T.Analyst
    MCITP(70-451)

  • RE: INSERT INTO SELECT WITH ORDER BY

    DECLARE @AAAATABLE TABLE(

    K INT IDENTITY(1,1)

    ,V1 VARCHAR(10)

    ,V2 VARCHAR(10)

    )

    DECLARE @DATATABLE TABLE(

    V1 VARCHAR(10)

    ,V2 VARCHAR(10)

    )

    INSERT INTO @DATATABLE(V1,V2)

    SELECT 1 AS V1, 2 AS V2...

    Malleswarareddy
    I.T.Analyst
    MCITP(70-451)

  • RE: insert into temp table

    got it wrong and i thought that, 1 as something in select into statement by default it will allows.but learned that it will not allows null.I worked more on select...

    Malleswarareddy
    I.T.Analyst
    MCITP(70-451)

  • RE: joining 2 sql servers for querying

    for working with linked servers you can use system store procedures to add linked server.use the following

    USE master

    GO

    -- To use named parameters:

    EXEC sp_addlinkedserver

    @server = 'SF-PC035',

    @srvproduct = ' ',

    @provider...

    Malleswarareddy
    I.T.Analyst
    MCITP(70-451)

  • RE: i want a different output in my t-sql query

    Hi,here i am unable to see your picture.

    this topic is similar to my thread.

    Please go through the thread you will find the answer.

    http://www.sqlservercentral.com/Forums/Topic922837-338-1.aspx

    Malleswarareddy
    I.T.Analyst
    MCITP(70-451)

  • RE: Encryption

    I read msdn article for more than two hours.and finally answered correct and it is a complex topic and i learned some thing new about encrption.

    Can any body send entire...

    Malleswarareddy
    I.T.Analyst
    MCITP(70-451)

  • RE: SELECT INTO

    good question on select into...

    I had one point to add.

    the following gives an error.

    select IDENTITY(int,100,5),* into #temp3 from

    testread

    there is no alias for identity column.so it shold throw an error.because every...

    Malleswarareddy
    I.T.Analyst
    MCITP(70-451)

  • RE: How many Records Will Get Selected

    Carlo Romagnano (6/11/2010)


    There is nothing new learn from this question.

    The lesson is:

    "GO" may be dangerous if no error checking is done!

    This type Go questions and answers and disscussions are there.

    Please...

    Malleswarareddy
    I.T.Analyst
    MCITP(70-451)

Viewing 15 posts - 136 through 150 (of 216 total)