Viewing 15 posts - 811 through 825 (of 5,356 total)
What about:
select
o.customerID
, o.orderdate
from
northwind..orders o
where
o.orderdate=
(select
max(o1.orderdate)
from
northwind..orders o1
where
o.customerID = o1.customerID)
group by
o.customerID
,o.orderdate
March 17, 2005 at 4:57 am
In order to get this running you need to execute sp_addextendedproc with this DLL. Otherwise SQL Server doesn't know how to handle it. And yes, it will be then an...
March 17, 2005 at 4:49 am
Can it be you're doing this exercise for some sorting reasons?
Here are several methods that will sort correctly on a VARCHAR:
SELECT
TOP 1000 n = IDENTITY(INT)
INTO
Nums
FROM
Sysobjects S1...
March 17, 2005 at 4:38 am
To add to Steve:
If in your place ASP hosting is also much more expensive than PHP hosting, you might want to use a PHP based content management system like mambo, postnuke...
March 17, 2005 at 4:34 am
Sorry for being late on this.
Actually, I think there is more than one way to solve this.
Given your sample data:
set nocount on
use...
March 4, 2005 at 4:23 am
I will paint an "L" on my forehaed for the rest of the day!!
Bear with me, since I am a non-native english speaker.
What...
March 4, 2005 at 12:39 am
There are many ways for this. If you search the web for trees and/or hierachies and SQL Server, you'll find some very good approaches. Maybe you can start from here:...
March 4, 2005 at 12:33 am
Hm, a little bit vague is your description. Anyway, does this help you:
March 4, 2005 at 12:13 am
Can't comment on the formatting of MONEY. However, MONEY gets also funky when division and/or multiplications are involved in calculations with MONEY:
declare @m1 money, @m2 money, @m3 money
declare @d1 decimal(19,4),...
March 3, 2005 at 8:49 am
Even if you can repair it for now, check your hardware closely to make sure it won't happen again.
If it doesn't help, I would call MS PSS.
March 3, 2005 at 7:56 am
May I ask what's the purpose of this whole exercise? What are you trying to accomplish?
March 3, 2005 at 7:11 am
Have you searched the script section here?
Anyway, it would also help if you could post the procedure along with sample data and the desired output.
March 3, 2005 at 6:50 am
Viewing 15 posts - 811 through 825 (of 5,356 total)