Forum Replies Created

Viewing 15 posts - 17,281 through 17,295 (of 26,484 total)

  • RE: SQL Scripts - How to run and get results

    Thank you for stating you are using SQL Server 2000 in your initial post. Please, in future, be sure you post your questions in the appropriate forums as this...

  • RE: Date Calculation

    Please take a close look at the code I have provided. In it you will see that I have provided you with the CREATE TABLE statement and the INSERT...

  • RE: Losing precision on cast

    The problem is the datatype you are using for amount. Here is some code I put together that appears to work, give it a try.

    SELECT

    supplier,

    ...

  • RE: Best Overall Certification Right Now

    CirquedeSQLeil (1/21/2010)


    It was cheaper back when I was interested in attending there.

    There is a cheaper alternative currently for MIT - tell her to do the Open CourseWare program

    http://ocw.mit.edu/OcwWeb/web/home/home/index.htm

    Can't do that....

  • RE: Best Overall Certification Right Now

    CirquedeSQLeil (1/21/2010)


    Community college and clep your way through most of the credits - could get a lot of degree for that:-D

    MIT - you might get a few semesters.

    Not even close:

    Nine...

  • RE: Best Overall Certification Right Now

    Jeff Moden (1/21/2010)


    GilaMonster (1/21/2010)


    Jeff Moden (1/20/2010)


    I'd suggest the relatively new "master DBA" cert. I've forgotten exactly what's it's called but it's similar to what I've just called it.

    Microsoft...

  • RE: Contraint on effective dates --Help Please

    Dumb question, but I'm going to ask it any way, why doesn't the insertiong of code C automatically update the effective date (Valid_To) of code B? That, to me,...

  • RE: Log file bigger than data file

    SQL_Quest-825434 (1/20/2010)


    Lynn Pettis (1/20/2010)


    shripati (1/20/2010)


    Hi...

    You can try this steps:

    Truncate the log file --- and shrink it to minimum size possible.

    This is the code...

    USE DatabaseName

    GO

    DBCC SHRINKFILE(<TransactionLogName>, 1)

    BACKUP LOG <DatabaseName> WITH...

  • RE: Backup

    Found on Redgates' site via Google:

    505 -

    No SQL Backup file name entered.

    Check that the length of the path name does not exceed the number of characters for your...

  • RE: SQL2005 64-BIT Just Installed...now what?

    GilaMonster (1/21/2010)


    Standard edition ignores locked pages if you're below a certain patch level. SP3 + some cumulative update. Can't recall exactly which one (google is your friend here)

    Setting max memory...

  • RE: SQL2005 64-BIT Just Installed...now what?

    Only suggestion I will make, set max memory to 6144 MB. This will leave 2 GB for the OS. Depending on whatever else you may be running on...

  • RE: Database Size

    david.wright-948385 (1/21/2010)


    Lynn Pettis (1/21/2010)


    Again, NOPE. Luck implies a total lack of knowledge.

    Luck (in this case) means you got the right answer without taking all the issues into consideration. You...

  • RE: DateDiff sql function

    You can find a few more of these types of date calculations here: Some Common Date Routines.

  • RE: DateDiff sql function

    shifty-922587 (1/21/2010)


    I was actually trying to pull in the date (emp.hiredt), and calculate the next month first date.

    I would like to know if I was told correctly about...

  • RE: Database Size

    Hugo Kornelis (1/21/2010)


    Lynn Pettis (1/21/2010)


    david.wright-948385 (1/21/2010)


    Luck then!

    Nope.

    Yes. Luck, because your server apparently has a model database the same size as that of the question author.

    Again, NOPE. Luck implies a...

Viewing 15 posts - 17,281 through 17,295 (of 26,484 total)