Forum Replies Created

Viewing 15 posts - 3,031 through 3,045 (of 3,232 total)

  • RE: secutiry

    I don't believe that SQL Server can handle what you are asking for.  You would have to write that into your application.  I've worked in shops where un-authorized changes to...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Help with Case Statement

    It may help to get your question answered if you post the entire query.  Table DDL and sample data would also be helpful.

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Query Probs??

    I think that your table DDL and sample data would be helpful here.

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: insert distinct record set

    INSERT INTO OrderReceived

    (OrderNumber,

     DateReceived)

     SELECT OrderNumber, min(DateReceived) FROM OrderDetail

     GROUP BY OrderNumber

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: insert distinct record set

    If I'm understanding you correctly, you want to update the OrderReceived table with the earliest OrderNumber,DateReceived from the OrderDetail table. 

    Try this:

    INSERT INTO OrderReceived  (OrderNumber , DateReceived) SELECT TOP 1 OrderNumber, DateReceived FROM...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Best Practices for Testing Back Ups

    On top of what Jo is saying, not only will verifying your backups tell you if you have corrupt backup files, it will also help identify media problems. 

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: i deleted a recently attached database in management studio, is it gone?

    I can't speak much for SQL Server 2005, but if you do that in 2000, you're toast.  Your files are gone forever, with the exception of taking your harddrive into...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: do it in database layer or application layer

    Can't you define a transaction through your application and call all 3 stored procedures from within that one transaction?  I don't have alot of experience from the application side of...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Change DB Mode

    Also, make sure you are not in EM.

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Change DB Mode

    Whichever method you choose, you cannot be logged into the database that you are trying to set to single user mode.  I said use master, not necessarily because you have...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Change DB Mode

    You have to make sure that there are not any users in the DB first.  If there are, you need to kick them out or run a script to do...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: VB script and UNC paths

    I would suggest verifying the permissions by performing a manual copy using you SQL user.  Log into your SQL box as the user in question, go to start>>run and type...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: VB script and UNC paths

    Has your MyCompany\SQLServer user been granted full control over the target folder?  Has the target folder been set up as a share? 

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Cursors? Variable Tables and Temp Tables?

    You 'da man Jeff.  That is an awesome post.  I have been attempting to get some of our developers to understand the importance of writting set based code over cursors...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Updating a table column

    UPDATE updatetble1 SET updatecol1 = sourcecol2 FROM updatetble1  JOIN sourcetbl2 ON updatetble1.rowid = sourcetbl2.rowid

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

Viewing 15 posts - 3,031 through 3,045 (of 3,232 total)