Forum Replies Created

Viewing 15 posts - 2,416 through 2,430 (of 2,904 total)

  • RE: DATETIME(8)

    It's not an error in the database. The data is correct but it's being CONVERTed incorrectly (from DATETIME to DATETIME(8)).

    The stored procedure may not have been parsed. I've written and...

  • RE: problem with old style joins *=

    Check out the Books OnLine. Specifically, use the Index search tab and enter:

    Joins-SQL Server. Then double click on the sub-topic Transact-SQL.

    That explains that using =* or *= can cause ambiguity.

    -SQLBill

    ...

  • RE: When Do You Pull Your Hair Out?

    What I like about your Real Life stories is that you give the steps you followed. I've printed several of them for my own trouble-shooting reference.

    -SQLBill

  • RE: FILE .BAK problrm with restore DB

    You only have ONE .bak file, correct?

    If so, that's really just the database. You can't restore PART of a .bak file.

    -SQLBill

  • RE: Convert Unix Timestamp

    BTW-your UNIX software may be doing more 'behind the scenes' than you are aware of.

    For example....Let's say you have a date and time in UNIX....October 26th 2:00 AM.

    What will that...

  • RE: Convert Unix Timestamp

    In SQL Server datetime datatype is a two 4-byte integer. The first 4 bytes store the number of days after 1 January 1900 and the second 4 bytes stores the...

  • RE: Date Constraint

    Oooo, Jonathan beat me to the answer. Must have been just by a second or two. (BTW-his suggestion is better than mine).

    -SQLBill

  • RE: Date Constraint

    Something like this might work:

    ALTER TABLE tablename

    ADD datefield DATETIME CHECK

    (datefield > GETDATE() AND datefield < GETDATE()+730)

    -SQLBill

  • RE: How to restore on a SAN?

    SINGLE USER mode stops anyone else from connecting. Depending on the WITH option, you can wait until transactions are done, or you can kick everyone out and rollback any transactions....

  • RE: Backup Retention Strategies

    How critical is your data?

    Have you talked to the users of the data?

    I'm REQUIRED BY LAW to keep my data for two years. I backup daily and when the data...

  • RE: Can't connect to a named inst when using DNS alias

    Okay, I missed your comment about the port issue.

    Next, what type of authentication is DEV_AP1 set up to use? (IN Enterprise Manager, right click on the server/instance and check the...

  • RE: Can't connect to a named inst when using DNS alias

    First thing to check, which port is DEV_AP1 listening on? (The first instance is usually 1433, the second instance is usually something else).

    Second, is your ODBC connection to DEV_AP1...

  • RE: QOD 10/8

    The answer WASN'T "always be "Hardware".

    The question WAS: What's the FIRST thing you should check when troubleshooting the problem? (that's not the EXACT wording, but close enough). The answer was...

  • RE: Locked out - please help

    BTW-SA account ONLY works with SQL Authentication.

    -SQLBill

  • RE: How to restore on a SAN?

    When I had to restore to my SAN, all I needed to do was put the database in SINGLE_USER mode and then do the RESTORE. I didn't have to stop...

Viewing 15 posts - 2,416 through 2,430 (of 2,904 total)