Forum Replies Created

Viewing 15 posts - 44,161 through 44,175 (of 49,571 total)

  • RE: How to shrink a transaction log in a published database

    homebrew01 (9/29/2008)


    Replication shouldn't make any difference. When was your last FULL backup ?

    Replication makes a big difference to logs. On a replicated DB, the log record can't be discarded until...

  • RE: Can't restore SQL database from BAK

    Looks like there's a damaged page in the backup. Can you get another copy of the backup?

    If not, try a restore with continue after error in 2005 or 2008....

  • RE: timestamp to datetime

    Fraggle (9/29/2008)


    Did you try using the CAST function?

    It may convert, but the conversion will be completely meaningless. timestamp is not in anyway related to a time.

  • RE: 2005 optimizer behaving badly

    ALZDBA (9/29/2008)


    don't use functions in a where clause because they may have your query not use an index or at least not using it as optimal as you'd expected it...

  • RE: Oracle to SQL replication problems

    Thanks. I'll pass that on.

    There are 500 odd tables. None of the tables have hundreds of columns. Interesting, if the DBA added (to the query in sqlplus) the equivalent of...

  • RE: Incremental backup

    ananda.murugesan (9/29/2008)


    hi sqldba,

    pls tell me, what is the different between incremental backup and differential backup in sql server 200?

    SQL doesn't have an incremental backup. It has a full backup, a...

  • RE: Restore to multiple files

    No. The restore will restore the DB with the same number of files and filegroups as it had when it was backed up.

  • RE: How SQL Server performs aggregation and sorting ?

    The storage engine just does data retrieval. It's job it to get pages from disk into memory and, when necessary, back. The query processing engine operates only on pages in...

  • RE: timestamp to datetime

    timestamp, despite it's name, has nothing to do with time. It's a binary value unique within the DB that changes whenever the row is changed. It's more a row version...

  • RE: 2005 optimizer behaving badly

    Allen Krehbiel (9/29/2008)


    Interesting to note: I can force both a hash join and a loop join on both 2000 and 2005. When both 2000 and 2005 are using...

  • RE: Why 249 is the limit on NonClustered indexes?

    Probably because the data type used for the indexId is a tinyint, hence only goes up to 255. 0 is the heap, 1 is the cluster, 255 is the blob....

  • RE: Query Tuning in TSQL

    Sandy (9/29/2008)


    if you are using the table for highly transactional then you can go for Table variable rather than Temp Table inside store procedure because it will be faster.

    Why will...

  • RE: sqlserver 2005 Express

    saby (9/28/2008)


    yes gail replication is working..

    Transaction information for database 'tbloy'.

    Replicated Transaction Information:

    Oldest distributed LSN : (0:0:0)

    ...

  • RE: SQL studs and studettes!!!Please recommend something on this...Thx

    davidsalazar01 (9/28/2008)


    The "TransID" field is actually defined as INT in the table. So you suggest changing this to INT in the sproc instead of using decimal? The developer...

  • RE: MSSQL 2005 performance issue

    iwantroot (9/29/2008)


    GilaMonster

    select top 20 *, cast(wait_time_ms as float)/waiting_tasks_count as Avg_WaitTime

    from sys.dm_os_wait_stats

    where waiting_tasks_count>0 and wait_type not like 'Sleep%'

    order by wait_time_ms desc

    This is my output:

    Was that while the server...

Viewing 15 posts - 44,161 through 44,175 (of 49,571 total)