Forum Replies Created

Viewing 15 posts - 4,756 through 4,770 (of 7,505 total)

  • RE: SAN Storage

    ... san vendor install technician knowledge ...

    Altough most SAN vendors nowadays have their own white papers for hosting databases on their san system, many technicians just don't have a clue...

  • RE: dropping tables where rowcount is zero

    - be carefull with sysindexes, because it may have an estimate count.

    - adapt your script:

    e.g. like this

    EXEC ('if 0 = (SELECT count(*) as rowCnt from ['+@schema+'].['+@tableName +']) drop table...

  • RE: Who is "the IT guy?"

    Brad M. McGehee (6/26/2008)


    When I am in a "work" environment, I call myself a DBA. If I am in a "non-work" environment, I call myself a "computer geek." When I...

  • RE: How to configure dateformat in database

    you don't. 😉

    - Use datatime datatype for date or time or datetime columns.

    This way you are sure valid dates are entered, and you have a bunch of datetime related...

  • RE: STRANGE

    it should be ok, as long as they fix the issues that are detected.

  • RE: Backing up Transaction Logs

    1) read BOL. it has very good info regarding how transaction logs work and how to backup.

    2) backup log

    BACKUP LOG [yourdb] TO [yourdbLogBUDevice]

    WITH NOINIT , --...

  • RE: Backup location

    We use this:

    With every backup job, we create backups to local drives (san or not), if available to a separated drive (non-data-files, non-log-files).

    The last step of every backup job copies...

  • RE: STRANGE

    Just to add to Gails remark:

    this is stated in BOL topic: "alter database"

    TORN_PAGE_DETECTION { ON | OFF }

    ON

    Incomplete pages can be detected by the Database Engine.

    OFF

    Incomplete pages cannot be detected...

  • RE: SAN Storage

    that's probably the best way to be sure your configuration meets at least your initial goals.

    And as always, if it doesn't make sence for you, check your preception to the...

  • RE: Database Mirroring

    AndyD (6/24/2008)


    ...

    I think this is normal operation for a Database Mirror without Witness. Have a read of "Forced Service (with Possible Data Loss)" in BOL. When the old Principal (instance01)...

  • RE: TSQL Tuning

    Mike Levan (6/24/2008)


    Hey may be this way i can tune my query but how could i do a group by on all my sleect statements if i split.

    just as easy...

    the...

  • RE: STRANGE

    then TornPageDetection is not enabled

    I suggest you enable it or have it enabled as soon as you performed a checkdb and address all issues that may appear.

  • RE: STRANGE

    use sp_helpdb !

    e.g.

    exec sp_helpdb 'DDBAStatistics'

    result:

    status (added linefeeds to narrow the linesize)

    -------------------------------

    Status=ONLINE, Updateability=READ_WRITE, UserAccess=MULTI_USER,

    Recovery=FULL, Version=611, Collation=SQL_Latin1_General_CP1_CI_AS,

    SQLSortOrder=52, IsTornPageDetectionEnabled, IsAutoCreateStatistics,

    IsAutoUpdateStatistics

    If you find IsTornPageDetectionEnabled then it's ok.

  • RE: Soundex Type Query in TSQL

    You'll have to test it if suites your purpose because it is language dependant !

    declare @tmptest table (idnr int not null identity(1,1) primary key, LName varchar(50) not null )

    insert into...

  • RE: TSQL Tuning

    did you try to split the "UNION ALL"

    So to rewrite the full query using the TT table

    and then perform a union all using the full query with the ArchTT...

Viewing 15 posts - 4,756 through 4,770 (of 7,505 total)