Viewing 15 posts - 1,246 through 1,260 (of 2,085 total)
be aware that a field in a table can have a different collation than the default collation for a database.
1) find the query/command causing the trouble
2) check all the fields and their...
September 17, 2007 at 4:53 am
move the "AND weeklyuserscores.weeknum = 2" to the left join clause, otherwise it will be filtered out.
SELECT
users.username
,weeklyuserscores.score IS NULL AS Score
,weeklyuserscores.absolutevaluescore IS NULL AS AbsoluteValueScore
FROM users
JOIN groupmembers
ON users.ID...
September 17, 2007 at 4:42 am
Hello,
What kind of technology do you use ADO,DAO?
Anytime my passthrough gave an error Access notified me, unless on error resume setting is on. (in order to process the error in...
September 11, 2007 at 2:51 pm
Could it be that the saturday backup job is still running because of the ongoing stored procedure?
Are you taking 2 full backups on saturday (one regular, one stored procedure after...
September 11, 2007 at 2:39 pm
Hello
1. Are there any db parameters for configuring # of processes for the db, simultaneous sessions per user, idle_time for a session etc.
->So far I know this is a...
September 11, 2007 at 2:29 pm
You can compare the execution plans with query analyzer. (Show (estimated) query plan.
I guess with literals the optimizer immediately figures out is it one date (index seek), with variables an...
September 9, 2007 at 3:19 pm
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
Viewing 15 posts - 1,246 through 1,260 (of 2,085 total)