Forum Replies Created

Viewing 15 posts - 2,416 through 2,430 (of 2,462 total)

  • RE: How can I combine multiple queries into 1 query

    plz provide the dummy script...:cool:

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: use db name dynamically

    add following code in ur script

    declare @db as nvarchar(50)

    set @db='Employee'

    declare @lstr varchar(100)

    set @lstr ='select max(empId) as lastEmloyee from ' + @db + ' ..Employee'

    exec (@lstr)

    hope this will work...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Paging with T-SQL

    I dont know what exaclty u want but if u want to incorporate

    ur SELECT command into Procedure then

    see this................

    DECLARE @LSTR NVARCHAR(300)

    DECLARE @projectId INT

    --SET @projectId = 90

    SET @LSTR =...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Randomly Assigning values to a column in table

    On what basis you want to update targetid in T2 from T1

    there shud be some criteria or condition 😉

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Selecting multiple columns into one

    Dear SSC Veteran,

    On production that guy wants to avoid UNION and you are executiing it CURSOR

    dont u think it will increase network traffic and degrade server performance:D

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: How to monitor/list outDML queries fired on any table

    Thanks ...but have u run this ..it only giviing system relevant information..

    But buddy i want user databasee specific information

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: how to list out DML queries fired on any table

    Thanks .i 'll try this ...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: How to monitor/list outDML queries fired on any table

    Can anybody tell me which dynamic managemant view or function will be used to get information ??

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: MAXvaluerow wise

    Thanks :):)

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: How to monitor/list outDML queries fired on any table

    i want result as sql query:)

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: XMLexperts???????

    Can't we use OPENXML queries without using it ??

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: XMLexperts???????

    Thanks for ur response..but i need someone who can put light on it with his views.....

    I have read thta BOL but i couldnt get it:)

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Need help in a query - Accessing and modifying previous row data

    try this out

    select * ,op_bal + quantity from #Temps

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Linked server

    see linked server is not a physical machine ...when we want to execute a query from server A to server B...then Server B act as Linked server

    Linked...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Is there Any Differeence ?

    thanks............now please see this also

    please run thi script....

    set statistics profile on

    exec sp_helpserver

    set statistics profile off

    And explain following terms...how they should be analyzed?

    --PhysicalOp

    --logicalOp

    --estimatedIO

    --EstimateCPU

    --AvgRowSize

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

Viewing 15 posts - 2,416 through 2,430 (of 2,462 total)