Forum Replies Created

Viewing 15 posts - 5,386 through 5,400 (of 7,164 total)

  • RE: selecting dataset with row numbers

    For future reference:

    SQL 2000 T-SQL Forum

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: selecting dataset with row numbers

    I would try the identity column method you mentioned...but use a table variable instead of a traditional temp table. I did some quick testing and inserting 400,000 rows into the...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: selecting dataset with row numbers

    Ahh...you posted in a SQL 2008 forum and I completely breezed by the first line of your post and went straight to your sample data and the later statements in...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Grant Exec on sproc is not sufficient

    Jason provided a good lead mentioning Ownership Chaining. Cross-database calls will break an Ownership Chain unless a non-default configuration is put into place. Are these cross-database calls?

    Chains can be...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Display records only if they have multiple child records

    Disclaimer: I do not have your tables on my side so this is untested code.

    If this code does not work for you right off the bat then hopefully it will...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: selecting dataset with row numbers

    SELECT customerID,

    fullname,

    phone,

    ROW_NUMBER() OVER ( ORDER...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: SQL Server Auditing

    This PowerShell snippet could be easily modified to start with a list of server names and provide a list of named instances you can then move forward with checking:

    http://www.sqlservercentral.com/Forums/FindPost1100455.aspx

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: C2 Audit Trace Files Location SQL Server 2005

    allamiro (7/20/2011)


    What if I want to change the size limits of the file to 50 MB for example is it also a default can not be changed ?

    I do not...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: C2 Audit Trace Files Location SQL Server 2005

    NBD4K27 (9/6/2007)


    That was what I originally thought; however,I saw one of our servers had some trace files in the defualt location and thenInoticed one trace file in a different location...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Grant permission to access only 2 tables in a database

    A good rule of thumb is to only grant user access to objects via Database Roles. It makes security management and auditing simpler in the long run and is not...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Copy from a folder to an other

    Jeff Moden (7/22/2011)


    ALZDBA (7/22/2011)[hrOf course there is nothing wrong with yea good old DOS ..... in a sqlagent job please.

    Not in the in-transaction-code !

    I have to disagree there. ...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Copy from a folder to an other

    ALZDBA (7/22/2011)


    You know I'm on my powershell learning curve, so that's what came out of my sleeves :hehe:

    Granted, the OP could get the job done with CmdShell using COPY instead...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: event notifications

    Oracle_91 (7/22/2011)


    do we have the event notifications for sql 2008 apart from CDC(change data capture)?

    Yes. Event Notifications are there...but as Eddie pointed they do not cover DML events.

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Copy from a folder to an other

    Jeff Moden (7/21/2011)


    ...

    BWAA-HAAA!!!! What's wrong with DOS??? 😛

    ...

    Heh...I'll assume that was a rhetorical question 😛

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Updating Statistics Rollback Behavior

    Welcome!

    dgossdba (7/20/2011)


    1. Will the command just terminate and all statistics that were updated remain that way, and any statistics that were not touched utilize original statistics?

    Yes.

    2. Will the...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

Viewing 15 posts - 5,386 through 5,400 (of 7,164 total)