Forum Replies Created

Viewing 15 posts - 44,146 through 44,160 (of 49,552 total)

  • 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...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • 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...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • 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.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • 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...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • 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...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • 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...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • 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....

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • 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...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • 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)

    ...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • 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...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • 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...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: NEED HELP in CREATING NEW DATABASE

    cuteprabakar (9/29/2008)


    Tags??? How to setup this most of suggest set in new table???(max 10 tags with 20 characters length, previously I used space separated string)

    In a separate table.

    This will be...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Increment of year

    As in the example I gave, just make @currentyear a parameter rather than a variable.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Increment of year

    sal527 (9/28/2008)


    and cyear=(cyear+1))

    Well, that's never going to be true. A value is never equal to itself + 1.

    Considering that you're hardcoding 2008 in the other spot, shouldn't that...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Stored Procedure Not Returning Values

    Could the inner joins be filtering out the rows?

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 15 posts - 44,146 through 44,160 (of 49,552 total)