Forum Replies Created

Viewing 15 posts - 391 through 405 (of 2,268 total)

  • RE: COunt difference

    Jayanth_Kurup (6/22/2011)


    I was under the assumption that dm_db_partition_stats was accurate , i tried to create a few scenarios where is tot it would be inaccurate but didn't face any problems.

    Here's...

  • RE: COunt difference

    Jayanth_Kurup (6/22/2011)


    select row_count from sys.dm_db_partition_stats

    where object_id = (object_id('abcd'))

    try this , it was asked a q Qotd and works faster

    its worth noting that this method can still be inaccurate,...

  • RE: COunt difference

    the counts are probably out of date, try running ;

    DBCC UPDATEUSAGE

  • RE: Nolock Hint

    try running your deletes in smaller batches to reduce the table lock,.

    using a lock hint is not a great idea, unless you really know what you are doing

  • RE: Need help with store proc.....that great

    without the ddl it is difficult to provide exact code, but something like

    Insert into table2 (col1,col2 etc..)

    select col1,col2 from table1

    where createdate < dateadd(mm,-3,getdate())

  • RE: select query is getting slow

    with out trying to sound too harsh, your really need to re-develop that code before putting it into production otherwise you open yourself up to a major security...

  • RE: Add Id to the cokumn

    sounds spot on.

  • RE: Add Id to the cokumn

    1. create a new table with the columns setup correctly, you can use your current table as a template.

    2. copy the data across (select into ) from old table to...

  • RE: Populate Fact Tables incrementally

    I think you are confusing the issues a little bit here.

    for an incremental load you need to have something in the source to define that a record is new or...

  • RE: Populate Fact Tables incrementally

    you will need to use lookup transformations to add the correct dim key to the fact table.

    and as you have some SCDs on your dimensions you will need to use...

  • RE: Where am I at in my SQL DBA Career?

    jarid.lawson (6/9/2011)do I need to spend the unknown amount for a full SQL Server system at the house too? Thoughts?

    Spend $40 (approx) on the dev edition of SQL 2008 it...

  • RE: project could not be deployed

    localhost is a way of referring to the local server

  • RE: 2008 backup on 2005

    I find the copy database wizard to be so buggy that it is not really that useful,

    others may have had better experience with it, but I would avoid.

  • RE: 2008 backup on 2005

    In SQL 2008 you can generate scripts that contain both the structure and data, depending on the size of the db this may be the easiest option

    Just make sure...

  • RE: datetime in MSSQL 2008

    language settings can be login specific, try logging in with the login that is causing issues and run;

    SELECT @@Language

Viewing 15 posts - 391 through 405 (of 2,268 total)