Forum Replies Created

Viewing 15 posts - 706 through 720 (of 921 total)

  • RE: Point in Time restore

    quote:


    I stick by what I said...

    Per BOL (Administering SQL Server, Backup and Restore Operations, Transaction Log Backups):

    The section on Restoring Transaction Log...

  • RE: How to prevent exhausted Indentity

    quote:


    At that point you're at 17 bytes per ID compared to 16 for a GUID. Good alternative though. And I suppose that...

  • RE: Point in Time restore

    quote:


    Can anyone verify whether the following is correct:

    Full backups are restored completely. So you can restore your 10/8/2003 full backup which...

  • RE: How to prevent exhausted Indentity

    Well, I doubt you'll run out of values if you do something like this:

    
    
    CREATE TABLE Biggie(
    Id dec(38,0) IDENTITY(-99999999999999999999999999999999999999,1))

    --Jonathan

  • RE: DateDiff function

    quote:


    quote:


    
    
    SELECT FName, LName, Hire_Date
    FROM Employee
    WHERE DATEDIFF(dd,GETDATE(),DATEADD(yy,DATEDIFF(yy,Hire_Date,GETDATE()),Hire_Date)) BETWEEN 0 AND 30

    --Jonathan

  • RE: Use Windows NT Fibers

    quote:


    In what circumstance would you set your Win2k server to 'Use Windows NT Fiber'?


    More than...

  • RE: DateDiff function

    
    
    SELECT FName, LName, Hire_Date
    FROM Employee
    WHERE DATEDIFF(dd,GETDATE(),DATEADD(yy,DATEDIFF(yy,Hire_Date,GETDATE()),Hire_Date)) BETWEEN 0 AND 30

    --Jonathan

  • RE: Help with simple query

    quote:


    I put this in and it returns 9 rows. Is this right? It seems to be for me! But...

  • RE: Table indexes

    Yes, they can be used.

    --Jonathan

  • RE: sql version

    http://support.microsoft.com/?id=321185

    --Jonathan

  • RE: Changing a column from INT to BIGINT - Urgent

    quote:


    Sorry guys, I mean't one column, not one row. I can do this, but the overhead and risk is not really worth...

  • RE: SQL help needed!

    Perhaps you are looking for the COUNT(DISTINCT ColumnName) aggregate function? Or just use the primary key of the members table with a self-join, e.g.:

    
    
    SELECT COUNT(m.PKCol)
    FROM...
  • RE: How to determine whether string is a number?

    quote:


    Thanks Jonathan.

    I actually never thought that 4d4 would evaluate to a number. For me, '4d4' evaluates to only 4. Totally...

  • RE: How to determine whether string is a number?

    SQL Server is able to evaluate that as a number, as it can use 4D4 (synonym, for some reason, of 4E4, AKA 4E+4 or 4*10^4) as a number. Try...

  • RE: dbcc checkdb

    Put the database in single-user and then run the repair:

    
    
    EXEC sp_dboption 'DBName','single user','true'
    
    
    DBCC CHECKTABLE ('sysindexes',REPAIR_REBUILD)

    If this doesn't fix the problem, you may...

Viewing 15 posts - 706 through 720 (of 921 total)