Viewing 15 posts - 10,546 through 10,560 (of 18,923 total)
Don't know if it still works in 2005 but you'll get the idea :
EXEC sp_MsForEachDB 'EXEC ?.dbo.sp_MyWork'
Or just use straight dynamic sql and you'll be fine.
December 18, 2006 at 10:17 am
I got to save this answer... it will come in handy someday.
Thanx GF
.
December 18, 2006 at 10:07 am
Still have or still don't have?
December 18, 2006 at 9:47 am
Care to formulate a more complete idea?!?!?
December 18, 2006 at 9:05 am
Obviously... but my point was that validation is not an option and should always be performed before the error occurs not after the user comes in and says something doesn't...
December 18, 2006 at 8:58 am
It's the exact same query except for the order by part. In your sample results you seem to require the data to be returned by fruit name which is what...
December 18, 2006 at 8:16 am
"Abbout the only query that will definatly, without exception use the NC index is a query of the form
SELECT MyDate from MyTable Where MyDate = '2006/01/01'
because it can be...
December 18, 2006 at 7:48 am
Also you might find this read very helpfull!
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=236&messageid=215144&p=1
December 18, 2006 at 6:36 am
Or actually >>
1 - Load data into working table
2 - Find bad rows
3 - Clean / delete / move them out of the way
4 - Begin transfer and behold, works...
December 18, 2006 at 6:34 am
I C. I never had to do this but why not keep all the queries on the application side? You just have to make sure that the user can only...
December 18, 2006 at 6:21 am
Why would this one not use the index (besides the fact that it could return too many rows for a seek to be usefull)?
Select * From MyTable Where MyDate Between...
December 16, 2006 at 10:48 pm
I could, but that could take some time
.
December 16, 2006 at 10:47 pm
I know there's something fishy here but again I never said the design was right. So what I'd like to see now is what solution mr helpfull can come up...
December 16, 2006 at 3:10 pm
I'm not saying that the design is right nor wrong. But this seems to be a case where the tool used to get the data out is not the right...
December 16, 2006 at 12:17 pm
Old code... didn't have time to rethink and rewrite. But I'm sure you already have the "good" answer ready so what not just post it already
December 16, 2006 at 11:48 am
Viewing 15 posts - 10,546 through 10,560 (of 18,923 total)