Forum Replies Created

Viewing 15 posts - 31 through 45 (of 82 total)

  • RE: Xp_logininfo

    Try executing

    Xp_logininfo 'NT AUTHORITY\SYSTEM'

    In the type you will come to know whether it is group or single user account.

    Nag

    Nag
    ------------------------------------------------
    How to get the best help on a forum

    http://www.sqlservercentral.com/articles/Best+Practices/61537

  • RE: How to replace the cursor

    Jeff Moden (6/2/2010)


    WayneS (6/1/2010)


    Nagesh S-432384 (5/31/2010)


    I 100% agree with you Jeff, my solution was for limited number of records not for huge data.

    Nag

    How many times have you been told that...

    Nag
    ------------------------------------------------
    How to get the best help on a forum

    http://www.sqlservercentral.com/articles/Best+Practices/61537

  • RE: format file with bcp command

    Can you be bit clear with what format you need, which will help people to answer.

    Nag

    Nag
    ------------------------------------------------
    How to get the best help on a forum

    http://www.sqlservercentral.com/articles/Best+Practices/61537

  • RE: How to insert procedure output in table?

    Try this query

    INSERT INTO #Space_Table (RowID, Server_Name, DBName, Flag, FileID, File_Group, Total_Space, UsedSpace, FreeSpace, FreePct, Name, [FileName], Report_Date)

    EXEC GetFileSpaceStats 1

    Nag

    Nag
    ------------------------------------------------
    How to get the best help on a forum

    http://www.sqlservercentral.com/articles/Best+Practices/61537

  • RE: confuse with result in dm_db_index_usage_stats

    Yes you can by adding proper indexes, but again the behavior of index and what your query is doing and look into the execution plans then you can decided on...

    Nag
    ------------------------------------------------
    How to get the best help on a forum

    http://www.sqlservercentral.com/articles/Best+Practices/61537

  • RE: confuse with result in dm_db_index_usage_stats

    your welcome Randy, the article mentioned in my last reply will help you to kick start.

    In simple words seek means in a library you know the location of book which...

    Nag
    ------------------------------------------------
    How to get the best help on a forum

    http://www.sqlservercentral.com/articles/Best+Practices/61537

  • RE: confuse with result in dm_db_index_usage_stats

    It is basically number of seeks and scans performed on the particular index.

    If you don't know the difference between index seeks and scans? please read this article. this is...

    Nag
    ------------------------------------------------
    How to get the best help on a forum

    http://www.sqlservercentral.com/articles/Best+Practices/61537

  • RE: date grouping

    I think it is because of difference in time stamps, please host some sample data as per Ron's response or use convert function in your group by.

    Nag

    Nag
    ------------------------------------------------
    How to get the best help on a forum

    http://www.sqlservercentral.com/articles/Best+Practices/61537

  • RE: How to replace the cursor

    I 100% agree with you Jeff, my solution was for limited number of records not for huge data.

    Nag

    Nag
    ------------------------------------------------
    How to get the best help on a forum

    http://www.sqlservercentral.com/articles/Best+Practices/61537

  • RE: Migrating DTS Packages from SQL 2000 to 2008

    In the following link, install SQLServer2005_BC.msi hope that will help you.

    http://www.microsoft.com/downloads/details.aspx?FamilyID=c6c3e9ef-ba29-4a43-8d69-a2bed18fe73c&displaylang=en#QuickInfoContainer

    Nag.

    Nag
    ------------------------------------------------
    How to get the best help on a forum

    http://www.sqlservercentral.com/articles/Best+Practices/61537

  • RE: ssis pasing variables and for loop

    Try using For each loop container that should help you.

    Nag

    Nag
    ------------------------------------------------
    How to get the best help on a forum

    http://www.sqlservercentral.com/articles/Best+Practices/61537

  • RE: How to replace the cursor

    changbluesky (5/31/2010)


    please take a look at the below SQL CODE

    ---

    create table mytable

    (

    potype varchar(10)

    )

    insert into mytable values

    ('AA'),

    ('BB'),

    ('CC')

    declare @potypestring varchar(50)=''

    declare @potype varchar(10)

    declare mytype cursor local for

    select potype from mytable

    open mytype

    fetch next from...

    Nag
    ------------------------------------------------
    How to get the best help on a forum

    http://www.sqlservercentral.com/articles/Best+Practices/61537

  • RE: column change from smallint to int with initialize with backup replication option

    What error you're getting for PK column?

    Nag

    Nag
    ------------------------------------------------
    How to get the best help on a forum

    http://www.sqlservercentral.com/articles/Best+Practices/61537

  • RE: Truncate table permissions

    TRUNCATE TABLE permissions is default to the members of the sysadmin fixed server role, and the db_owner and db_ddladmin fixed database roles. I think you should be able to do.....

    Nag
    ------------------------------------------------
    How to get the best help on a forum

    http://www.sqlservercentral.com/articles/Best+Practices/61537

  • RE: Urgent Help Please

    Lucky9 (5/19/2010)


    I have to keep track of change for one of the column in one of the tables..

    If the column gets updated then i need to Insert the updated column...

    Nag
    ------------------------------------------------
    How to get the best help on a forum

    http://www.sqlservercentral.com/articles/Best+Practices/61537

Viewing 15 posts - 31 through 45 (of 82 total)