Viewing 15 posts - 391 through 405 (of 2,268 total)
Jayanth_Kurup (6/22/2011)
Here's...
June 22, 2011 at 2:49 am
Jayanth_Kurup (6/22/2011)
select row_count from sys.dm_db_partition_statswhere 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,...
June 22, 2011 at 1:37 am
the counts are probably out of date, try running ;
DBCC UPDATEUSAGE
June 21, 2011 at 7:43 am
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
June 21, 2011 at 3:20 am
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())
June 20, 2011 at 10:19 am
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...
June 20, 2011 at 5:35 am
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...
June 16, 2011 at 4:45 am
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...
June 16, 2011 at 4:42 am
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...
June 16, 2011 at 4:09 am
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...
June 9, 2011 at 8:17 am
localhost is a way of referring to the local server
June 6, 2011 at 7:32 am
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.
June 3, 2011 at 8:18 am
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...
June 3, 2011 at 7:40 am
language settings can be login specific, try logging in with the login that is causing issues and run;
SELECT @@Language
June 2, 2011 at 7:25 am
Viewing 15 posts - 391 through 405 (of 2,268 total)