Viewing 15 posts - 1,231 through 1,245 (of 2,064 total)
declare @datelast datetime
declare @dateprevious datetime
set @dateprevious='20070101'
set @datelast='20070102'
/*find items that are in
inventorylast but not in inventoryprevious
*/
select inventorylast.SKU
,inventorylast.qty int
,inventorylast.invdate
from inventory inventorylast
where not exists
(select 1 from inventory inventoryprevious
where inventorylast.sku=inventoryprevious.sku
and ...
September 9, 2007 at 12:37 pm
Always mention the column names when inserting. In case someone decises the names have to be alfabetically sorted.
insert into Sep_92 (Regno,Payment) values (19,'2005/12/05')
September 8, 2007 at 11:01 am
You can rebuild indexes with DBCC INDEXDEFRAG OR DBCC DBREINDEX
Shrinking parts of the database can be done with DBCC SHRINKFILE
September 8, 2007 at 10:49 am
It is fine to have primary keys with "no meaning". Mark the other unique fields with unique indexes/constraints and eventually a foreign key so later on you still will able...
September 6, 2007 at 2:42 am
my guess is an entry in the param.txt file
microsoft released an update of SQLIOStress called sqliosim: http://support.microsoft.com/kb/231619
September 6, 2007 at 2:20 am
clustered indexes are more suited to range-seek (like date ranges). (benefit of having a sequential IO feed because the data is ordered sequential). If you only fetch 1 item at...
September 6, 2007 at 1:53 am
You could try this with the BULK INSERT command depending on complexity.
September 3, 2007 at 4:49 am
You can perform a transaction log backup. It automatically truncates the inactive portion of the transaction log.
September 3, 2007 at 4:37 am
I would start with reducing the batch size.
It was needed at work to reduce it from 500 to 100 because our subscriber was slower in IO
Found the kb:
September 2, 2007 at 12:19 pm
It could be timing out. You can change batchsize & timeout in the replication agent profiles.
September 2, 2007 at 4:58 am
Use
execute spAddOpptest @OppName=...
Otherwise it tries to fill the first parameter @OppID int out with your text
It is better to explictly mention the parameternames in case the order of parameters...
August 30, 2007 at 1:47 pm
I'm interested also if that would be possible.
Only the datecreated is mentioned in the sysobjects table.
August 30, 2007 at 1:43 pm
*pro.factor isn't in the select, why do you calculate it?
*Is
'CveProyecto Prorateo' = pro.proyecto
testing if pro.proyecto is equal to the literal 'CveProyecto Prorateo'?
*
LEFT JOIN (SELECT factor = gp.factor / (SELECT...
August 30, 2007 at 1:24 pm
After the installation of Oracle Client software, reboot the server. Otherwise sql server doesn't seem to recognize until reboot.
August 30, 2007 at 1:19 pm
Viewing 15 posts - 1,231 through 1,245 (of 2,064 total)