Viewing 15 posts - 13,981 through 13,995 (of 14,953 total)
Steve F. (4/24/2008)
April 28, 2008 at 3:21 pm
Dang. I found an article online that had to do with this error on 64-bit machines, but it's not at all applicable to 32-bit systems.
I'd say it's time to...
April 28, 2008 at 3:16 pm
You could either join them or union them to put them together. Which are you looking for?
April 28, 2008 at 3:10 pm
Most likely, it's "modal". Have you been able to get back to Management Studio by closing the DTS package?
(I don't have any DTS packages to test this on. ...
April 28, 2008 at 2:11 pm
What you can do, in some cases, is aggregate on a different column, in a derived table/CTE, then join to that using the image column.
More likely, what you need to...
April 28, 2008 at 1:04 pm
You're right. With aggregates, it matters. Some other things, too.
I think for Art's query, the criteria in the Join statement will work best.
April 28, 2008 at 12:17 pm
Graham (11/14/2006)
From a performance point of view you would probably be better off having 2 stored procs, one for quantity and one for amount
If they are separate, yep.
Or if you...
April 28, 2008 at 12:10 pm
Michael Spencer (4/28/2008)
Right...
April 28, 2008 at 12:06 pm
Have you tried recompiling the stored procedure? It looks like it needs to refresh the metadata, and that might do it.
April 28, 2008 at 11:19 am
teo_erdem (4/28/2008)
thank you ,but, may be 1000 database in SQL Server and database name i don't know...
date is parameter use, but databasename is not parameters use..
I don't understand your second...
April 28, 2008 at 11:17 am
Yes, the column has to be created before it can be used in a Where clause, in the case of Row_Number, Rank, etc.
April 28, 2008 at 11:13 am
The problem isn't that you're using In in a Case statement. It's how it was written.
Your original query doesn't have the word "Where" in it. That's the syntax...
April 28, 2008 at 11:11 am
Matt Miller (4/28/2008)
GSquared (4/28/2008)
April 28, 2008 at 10:59 am
That works, Jeremy. Not sure why anyone would do it, but it does work. 🙂
April 28, 2008 at 10:58 am
Viewing 15 posts - 13,981 through 13,995 (of 14,953 total)