Forum Replies Created

Viewing 15 posts - 1,831 through 1,845 (of 2,462 total)

  • RE: Substring Function in Where Clause

    @eseosaoregie,

    Not all people ( including me ) can understand exec paln iin any format (here xlsm format) . i found it all impossible to read it. so always try to...

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

  • RE: Substring Function in Where Clause

    eseosaoregie (4/21/2010)


    I created the computed column and the index on that column. The computed column is as follows

    --Add Computed Column

    ALTER TABLE MyTable

    ADD comp_column AS substring(LineRead,2,4) varchar

    --Create Column

    CREATE INDEX IX_COMPColumn...

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

  • RE: Substring Function in Where Clause

    eseosaoregie (4/21/2010)


    If i add the computed colum presumably the index to create is a non clustered index?

    yes it should be non clus. index

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

  • RE: CREATE SCHEMA AT LinkedServer

    teutales (4/21/2010)


    EXEC ('USE databasename; CREATE SCHEMA common') AT [127.0.0.1]

    Isn't it working fine ?

    teutales (4/21/2010)


    Edit: a way to solve my problem is to change the default database...

    i think...

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

  • RE: Benchmarking a new Server

    Better way would be; test or analyze everything at test server/environment; set your benchmarks then hit the production

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

  • RE: Efficient way to fetch data through job

    Better way would be , create a DTS package and schedule it.

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

  • RE: Differential Backup of Database

    RakeshRSingh (4/21/2010)


    I further analyzed the problem on a test database and found that the culprit is SQL Server VSS Writer running while I am taking ntbackup of the database backup...

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

  • RE: performence tuning tips for dba

    Performance tunning is very VAST area. it will taker years of practice.

    You can tune your db thru

    1. SQL Server profiler

    2. DTA (Database Engine Tuning Advisor)

    3. DMVs(Dyanamic management views)

    4. DBCC commands

    but...

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

  • RE: Pbm with mirroring

    To implement mirroring across the domain , you need to make domain trustable (using certificates)

    see the below links

    http://www.mssqltips.com/tip.asp?tip=1705

    http://www.codefound.com/implementing-database-mirroring-in-sql-server-2005-across-domains/

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

  • RE: Row Level Versioning

    rafa.aborges (4/20/2010)


    We turned on the row level versioning on our database. It's on for almost 15 days. But this morning the tempdb transaction log got full.

    My question is if...

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

  • RE: Get email format

    @shilpa

    If you are not satisfied with lowell post.

    Please post sampla data with desired output(i got bit confused with your problem).

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

  • RE: Export to Excel Sheet Question

    Post your sql query which you are using to export data

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

  • RE: Insertion slow

    Ananda-292708 (4/20/2010)


    this is such a generic that you could have done 1 hrs easy timepass with them.;-)

    a whole book can be written on this.

    can you post some probable reaons...

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

  • RE: Insertion slow

    Bhuvnesh (4/20/2010)


    Gianluca Sartori (4/20/2010)


    (2) Too many indexes

    HOw indexes put sudden effect on indexes. i am confused with it

    i am not sure about your comment but , out dated statistics...

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

  • RE: Insertion slow

    Gianluca Sartori (4/20/2010)


    (2) Too many indexes

    HOw indexes put sudden effect on indexes. i am confused with it

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

Viewing 15 posts - 1,831 through 1,845 (of 2,462 total)