Forum Replies Created

Viewing 15 posts - 1,996 through 2,010 (of 7,498 total)

  • RE: Insert query generating error

    You need to check this constraint 'AK3tcsINVTB00026_AttribAsgn'

    Figure out what it is ( obviously a unique key ) and for which column(s) it goes and figure out what is wrong with...

  • RE: Extracting the db name from log file

    If you mean adding the db name to the result rows ...

    SELECT @@servername as ServerName, getdate() - S.login_time as SQLServer_UpDateTime_1900_01_01

    , D.name as DbName

    FROM sys.dm_exec_sessions S

    cross apply sys.databases D

    WHERE...

  • RE: Data file has been dropped but sql server wont let go

    if sqlserver is running and the database is open, you cannot delete the file on the operating system.

  • RE: Mirror db issue

    Yes

    Keep in mind your Witness server doesn't need to be EntEdtn. fwiw it can be an express edtn.

  • RE: Are the posted questions getting worse?

    mister.magoo (6/7/2011)


    ALZDBA (6/7/2011)


    SQLRNNR (6/7/2011)


    ALZDBA (6/7/2011)


    What's with the watermark on our SSC ??

    Is it webmaster fun, or is SSC changing logo ?

    Where do you see this watermark?

    I get to see it...

  • RE: Insert query generating error

    apparently you have declared a unique alternate key (i.e. a unique index)

    Double check you are checking all your unique constraints (pk/ak) before qualifying a row for insert

  • RE: Index REORGANIZE question

    Digs (6/7/2011)


    Hi,

    I have two large tables that get updated daily or (added to).

    I want to run this TSQL daily.

    ALTER INDEX ALL ON DIM_Data REORGANIZE

    and

    DBCC SHRINKDATABASE (MyDB,10);

    Say I have...

  • RE: Extracting the db name from log file

    That will only work of the errorlog file hasn't been rolled over ( more than your number of kept files )

    If your database has "autoclose off" - which I hope...

  • RE: Are the posted questions getting worse?

    SQLRNNR (6/7/2011)


    ALZDBA (6/7/2011)


    What's with the watermark on our SSC ??

    Is it webmaster fun, or is SSC changing logo ?

    Where do you see this watermark?

    I get to see it in the...

  • RE: Are the posted questions getting worse?

    GilaMonster (6/7/2011)


    The client-from-hell is no more.

    Congratulations !:w00t:

  • RE: Are the posted questions getting worse?

    What's with the watermark on our SSC ??

    Is it webmaster fun, or is SSC changing logo ?

  • RE: Are the posted questions getting worse?

    Lynn Pettis (6/4/2011)


    Okay denizens of The Thread, I got a call yesterday evening from my oldest daughter that actually left me speechless.

    I am going to be grandfather![/i]

    Looks like I'll need...

  • RE: CLR and Indexed view

    It is best to always post your exact question documented with your actual code.

    The more actual info we get, the better advise we can give you.

    If you would have posted...

  • RE: CLR and Indexed view

    Seems to me to be the way to use a clr fn just to actually use one.

    Why don't you use a regular tsql derived column ?

  • RE: Reg stored procs deployment

    Once you have the script, you can use SQLCMD to deploy it to all your environments, or if you can group connect to the required instances ( SSMS registered servers...

Viewing 15 posts - 1,996 through 2,010 (of 7,498 total)