Forum Replies Created

Viewing 15 posts - 1,081 through 1,095 (of 3,011 total)

  • RE: Locking issue

    ekknaveen (11/18/2010)


    Thanks for your information, I dont want to change the current desing. Keeping the current design is there any way sothat blockings can be eliminated. Is it good idea...

  • RE: How to rename a database snapshot

    Drop the snapshot and create a new snapshot with the name you want.

  • RE: How to protect your SQL 2005 Backups

    Adiga (11/17/2010)


    Even though the "password" option encrypts the backup file, the encryption is not strong enough. You can encrypt the entire database using TDE or use a third party tool...

  • RE: How to protect your SQL 2005 Backups

    LiteSpeed supports encrypted backups.

    Redgate web site says their Backup Pro (not Lite) supports encrypted backups.

  • RE: Get the Current Date

    Stefan Krzywicki (11/17/2010)


    Well, I've found one reason to use GetDate() instead of Current_Timestamp. Current_Timestamp isn't supported in SSIS Expressions.

    I'm fairly certain that there is no ANSI standard for SSIS. ...

  • RE: Locking issue

    The best thing to do would be to switch to using an identity column.

    If you must keep the current bad design:

    1. Make one table for each table you are maintaining...

  • RE: Weekly date ranges.......

    Solution to the OP's question using a calendar table:

    select

    WEEK_NO=

    min(a.WEEK_STARTING_TUE_SEQ_NO-b.WEEK_STARTING_TUE_SEQ_NO+1) ,

    WEEK_START_DATE=

    min(a.[DATE]),

    WEEK_END_DATE=

    max(a.[DATE])

    from

    -- Date Table Function F_TABLE_DATE available here:

    -- http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=61519

    F_TABLE_DATE('20100901','20100930') a

    cross join

    F_TABLE_DATE('20100901','20100901') b

    group by

    a.WEEK_STARTING_TUE_SEQ_NO

    order by

    a.WEEK_STARTING_TUE_SEQ_NO

    Results:

    WEEK_NO WEEK_START_DATE ...

  • RE: Google Scale

    Experienced developers, like Jeff, understand that doing a crap job the first time around and then having to fix it is much more expensive than doing a good job the...

  • RE: top without using TOP

    Learner1 (11/15/2010)


    thanks ,,,,,,,no it's not a home work

    its again an interview quetion but I got an answer already...

    this can be done using a corelated query

    SELECT DISTINCT (a.age) FROM test55...

  • RE: Really? Then how? (Rant/Vent)

    Craig Farrell (11/15/2010)


    Michael Valentine Jones (11/15/2010)

    That's good, as long as they don't actually decide to go out and buy a cheap laptop to replace the server. :crying:

    "So, that's your...

  • RE: Really? Then how? (Rant/Vent)

    GilaMonster (11/15/2010)


    David Lester (11/15/2010)


    Consultant, 'You know, you could stop out at a PC store, pick up a cheap laptop and run better than this server does'

    I've used that...

  • RE: Sorting Months By Number (SQL Spackle)

    There have been a lot of alternative suggestions posted, so maybe it’s time for a performance test… 🙂

    FYI: I never vote on anything, so don't blame me for the...

  • RE: Releasing free (unallocated) space via backup/restore

    Restore simply creates the database file the way they were when the backups was made.

    If you need to shrink them after the restore, you will have to set that up...

  • RE: Really? Then how? (Rant/Vent)

    David Lester (11/15/2010)

    So I do admit, it took alot of self control to not do the I told you so thing. That group already is stunningly uncooperative with me...

    It's...

  • RE: Really? Then how? (Rant/Vent)

    David Lester (11/15/2010)


    Ha! Ha!

    The consultant they hired came in and after all day told them what I was telling them. The problem is in the hardware, or configuration of...

Viewing 15 posts - 1,081 through 1,095 (of 3,011 total)