Forum Replies Created

Viewing 15 posts - 2,356 through 2,370 (of 2,462 total)

  • RE: Query

    you should have post this query into DEVELOPMENT or TSQL 2K5 folder.this is related to admnistration part

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

  • RE: Linked server queries

    i have same query which runs on other server...that also includes join.

    So to make query faster put "REMOTE" word in between the INNER JOIN

    for example :

    select t.name,t1.cal from...

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

  • RE: Script should give default datapath of SQL database files... HELP require

    declare @LogFile nvarchar(500), @server varchar(50),@info nvarchar(500),@info2 nvarchar(500)

    declare @Datafile nvarchar(500),@ans nvarchar(500)

    --truncate table aud23sep

    declare servercursor cursor for

    select Server

    from SQLServerMaster

    order by Server

    open servercursor

    fetch next from servercursor

    into @server

    while...

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

  • RE: how to execute procedures one after the another in an script

    My dear

    your example will get executed as u desired bcoz execution is done in the same sequence as u write in your sql script

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

  • RE: sql query to find statement currently executing in sp

    Hi Gila,

    i m directing you towards the problem of a lady ....please help her ,i m sure u wont mind it as i posted this reply beyond this TOPIC:)

    http://www.sqlservercentral.com/Forums/Topic573108-357-1.aspx#bm575413

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

  • RE: How to get errorlog via email?

    oh.....this is a fall 🙁 in sql 2000 we have to go with

    master.dbo.xp_sendmail

    but sorry no idea about that

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

  • RE: Alternative ofdatabase diagram

    Yeah......i know re-engineering feature but its really difficult to manage 700 tables.....the reason being we basically deals with DDL commands ....so on every time it takes a...

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

  • RE: Alternative ofdatabase diagram

    hi ER/studio OR erwin ?? please elaborate

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

  • RE: Should I use nVarchar or Varchar..?

    In simple language....whenever you have special characters use nvarchar otherise always use varchar datatype

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

  • RE: deleting the data

    yeah ...u r right 🙂

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

  • RE: Unique NONCLUSTEREDCONSTRAINT

    ALTER TABLE ADD CONSTRAINT [name of constraint] UNIQUE NONCLUSTERED

    (

    [column name1] ,

    [column name2] ,

    [column name3]

    )

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

  • RE: Special Chars

    insert into table select 'O''rean'

    replace single quote with double quote

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

  • RE: deleting the data

    i know .....truncate cant be stopped by trigger 🙂 but

    can we think beyond the available features of sql 2005

    is there any sys tables or catalog view by...

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

  • RE: deleting the data

    You can apply INSTEAD OF trigger FOR DELETE on that particular table

    if you want i can give you script also but if you try yourself 🙂

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

  • RE: Run EXE from Stored Procedure

    include following script in your Stored Proc

    declare @sqlcmd varchar(200)

    SET @SQLCmd = 'copy c:\dba\sampl.xls c:\dba\sampl_2.xls'

    EXEC master..xp_cmdshell @SQLCmd , no_output 🙂

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

Viewing 15 posts - 2,356 through 2,370 (of 2,462 total)