Forum Replies Created

Viewing 15 posts - 6,781 through 6,795 (of 7,616 total)

  • RE: SQL Developer to SQL DBA

    I've got scripts that will generate point-in-time recovery scripts. And generate and execute tail log backups.

    I suspect you could get a script(s) from the web for that and modify...

  • RE: SQL Developer to SQL DBA

    Jeff Moden (2/15/2013)


    ScottPletcher (2/15/2013)


    Jeff Moden (2/14/2013)


    ScottPletcher (2/14/2013)


    That's a significant change!

    In order, here's a quick list of the most important things to do first:

    1) Make sure the DBA role will fit...

  • RE: SQL Developer to SQL DBA

    Jeff Moden (2/14/2013)


    ScottPletcher (2/14/2013)


    That's a significant change!

    In order, here's a quick list of the most important things to do first:

    1) Make sure the DBA role will fit you. As...

  • RE: Error converting Date

    Do you want to test DateDesc for within the last 30 days?

    If so, then maybe this (added that check to the WHERE clause):

    select

    activityname,

    dd.datedesc,

    dateadd(hour, - 5, DD.DateDesc) AS date_completed,

    getdate()-1 as...

  • RE: Upgrade to 2008 - Some Advice

    Have to admit, I just upgrated in place from SQL 2005 to 2008. It's fairly straightforward. (Nothing at all like the huge changes going from SQL 2000 to...

  • RE: Need to split one table into three tables

    Very nice, but technically wouldn't remainder 1s be table A, remainder 2s be table B and remainder 0s be table C?

  • RE: Triggers advice / help

    Sean Lange (2/14/2013)


    ScottPletcher (2/14/2013)


    Nope, you're not quite there yet, one other changed to make.

    You should always specify the owner (schema name) on objects in a trigger. There are very...

  • RE: SQL Developer to SQL DBA

    That's a significant change!

    In order, here's a quick list of the most important things to do first:

    1) Make sure the DBA role will fit you. As a developer, you...

  • RE: Triggers advice / help

    Nope, you're not quite there yet, one other changed to make.

    You should always specify the owner (schema name) on objects in a trigger. There are very few always/never rules...

  • RE: Naming Convention for UDF's, Views and SP's

    Jeff Moden (2/13/2013)


    ScottPletcher (2/13/2013)


    I wouldn't use a separate schema, first of all because of the security considerations: you'll break the ownership chain, thus forcing a lot more security checks on...

  • RE: User Defined Table type

    JKSQL (2/13/2013)


    I just can't seem to find an article in how User Defined table types are stored. Do these go into the TempDb? Also is there an advantage...

  • RE: Naming Convention for UDF's, Views and SP's

    Just imagine if SQL itself tried to use all these prefixes? That would be a royal pain!

    In general they use the prefix to logically group things, such as sys.dm_db_*,...

  • RE: Naming Convention for UDF's, Views and SP's

    RonKyle (2/13/2013)


    Also, it's extremely inconsistent unless you also name all your tables tblXXX (and DO NOT, EVER, do that, ).

    Why would you never do this? I've seen dimension tables...

  • RE: Naming Convention for UDF's, Views and SP's

    Grant Fritchey (2/13/2013)


    Ever is probably an over-reaction, but in general these types of naming conventions just don't make sense. How is tblInvoices easier to understand than Invoices? How is it...

  • RE: Help With Foreign Keys

    nsmith 8448 (2/13/2013)


    Thanks everyone. Great input. No school project, just thrown into the fire without much experience in creating databases. Also, not using "tbl" on the tables, just noted it...

Viewing 15 posts - 6,781 through 6,795 (of 7,616 total)