Forum Replies Created

Viewing 15 posts - 196 through 210 (of 212 total)

  • RE: cursor vs. single sql transaction

    You can use this statement as a base to accomplish what you want. (You still have to create your insert statement from this Common Table Expression)

    ;WITH myCTE(pid, yrs, lvl)

    AS (

    SELECT...

  • RE: cursor vs. single sql transaction

    A quick comment, the datatype is missing for the amount column.

    And yes, there is an alternative to cursor, i will try to post the solution later on (busy right now).

  • RE: How to synchronize databases between two server insqlserver 2005

    There are a couple of strategies you can use, mirroring / logshipping / replication. My recommendation will vary depending on what you want to accomplish, if you would like to...

  • RE: Interview questions on SQL Server 2005.

    Bruce W Cassidy (2/19/2009)


    [font="verdana"]It's almost tempting to go into an interview with a harried expression, saying something like "I'm sorry, I'll have to reschedule the interview, one of our databases...

  • RE: Interview questions on SQL Server 2005.

    GilaMonster (2/19/2009)


    swmsan (2/18/2009)


    I do backup restore 10 times a day...still I was not able to answer such questions...

    Errr, those are pretty trivial questions. If you don't know the answers, how...

  • RE: Interview questions on SQL Server 2005.

    swmsan (2/17/2009)


    Can anyone send me some interview questions pls.

    I recently got into DBA and I wanna stick to it as am very much interested in this.

    The problem is that my...

  • RE: script error

    Do you have a maintenance plan that check and backup the databases, rebuild indexes etc?

    Do you have any blocking transactions ( use sp_who2 to look for blocking SPID in the...

  • RE: T-SQL

    Lempster (2/17/2009)


    Hugo Kornelis (2/17/2009)


    Hi Glen,

    No, that's not correct. The upper limit in the BETWEEN proposition (2009-01-31 23:59:59.999) has to be converted to a proper datetime value. It can either be...

  • RE: T-SQL

    But you still have to remember that inserted/updated values will also be rounded. So if you try to insert '2009-01-31 23:59:59.999' it will be rounded to the next day. If...

  • RE: SQL Agent issue

    The error message that we get is :

    - Cannot create a column accessor for OLE DB provider "OpenLinkODBC"

    Finally I found a solution that solved the problem. It seems like the...

  • RE: sql server agent disable

    Do you get this message in SQL Server log?

    Configuration option 'Agent XPs' changed from 1 to 0. Run the RECONFIGURE statement to install.

    Try to run the statement RECONFIGURE and then...

  • RE: T-SQL

    The answer is incorrect since 2009-01-30 00:00:00:000 will not be returned. But you are pointing out a very important issue of SQL Server, datetime values are rounded to increments of...

  • RE: Query Timed out error

    Information about Msg 7399, Level 16, State 1, Line 1 from Microsoft knowledge base ( http://support.microsoft.com/kb/314530 ) :

    "Error 7399 is a generic error message that the provider returns, which indicates...

  • RE: Everyone has heard of DLL hell, but DBAs...

    Do anyone have experience of using the versioning capability of stored procedures? Whats your conclusion of this feature?

    /Senior SQL Server DBA

  • RE: What is the equivalent of Lead / Lag (Oracle Analytics) in SQL Server 2008

    SQL Server 2005 introduced partial support for the OVER clause and many important elements of the OVER clause are still missing, please read the following document from Itzik Ben-Gan:

Viewing 15 posts - 196 through 210 (of 212 total)