Viewing 15 posts - 13,516 through 13,530 (of 13,849 total)
I agree - having your db designed like this will always frustrate you as queries which should take 30 seconds to write will take 30 minutes and perform 10 times...
June 20, 2005 at 10:28 am
I think that any limit on the number of physical files that can be stored will be at the folder level - so can you just create some sort of...
June 20, 2005 at 8:51 am
Check out BOL "Using the inserted and deleted tables" for more info. To summarise, the 'inserted' table is a temporary table that contains a copy of the record (or records)...
June 20, 2005 at 4:18 am
You need to use a join to get the best performance. Indexing on the id fields would also help a lot.
select * from table2 t2
left join table1 t1 on...
June 20, 2005 at 3:09 am
Use CONVERT in your SELECT statement to format the results that are returned by the SELECT statement - this will not affect the underlying data:
SELECT CONVERT(blah blah) as NiceDate, ....
will display...
June 16, 2005 at 7:55 am
This is difficult to achieve outside of EM - see the following link for more info. if the EM solution is not what you want.
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=5&messageid=126116&p=1
Regards
June 16, 2005 at 4:45 am
To prove your suspicions, you could try changing the offending select statements by adding WITH (NOLOCK)? I do not know the answer to your @@isolation question.
Regards
Phil
June 15, 2005 at 10:18 am
Chuck, this is certainly possible. The outline of what you need to do is
select data1, data2, etc
from tablelist
where (change varchar field to date) > targetdate
This does not require you to...
June 15, 2005 at 9:55 am
Hmmm - my assumption is surely valid? Assuming Doctor Who's absence, how can 'dateinput' be a future date? ![]()
June 15, 2005 at 9:19 am
How about this WHERE clause:
where ContractDate >= cast(floor(cast(getdate() as float)) as datetime)
Phil
June 15, 2005 at 8:06 am
I've never used this solution - though I see no reason for any drawbacks - except, perhaps, for the ugly message that could be sent back to client apps -...
June 15, 2005 at 7:56 am
Check out this link for more info on this:
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=9&messageid=157147#bm157159
June 15, 2005 at 6:16 am
Or you could use
where isnumeric(column1) = 0
Cheers
Phil
June 15, 2005 at 6:09 am
Depends on your table - eg does it have a key field that gets bigger and bigger with each new record? Eg if the data look something like this:
ID,...
February 1, 2005 at 5:07 am
Viewing 15 posts - 13,516 through 13,530 (of 13,849 total)