Viewing 15 posts - 1 through 15 (of 17 total)
Yes, exactly so - it's a table coming from an external source.
August 19, 2008 at 4:39 pm
I've ended up using syscolumns, which creates no problem accessing it.
Thank you!
August 19, 2008 at 8:19 am
The table with 'fee' columns is on SQL2000.
I'm going to have to execute my script from SQL2005.
When I refer information_schema.columns from the 2000 server, it works fine.
When I try running...
August 18, 2008 at 7:50 am
Steve,
Unfortunately, I cannot do anything about the database design here.
Yes, these are all different types of fees and they each are supplied with 'feetype' columns.
I've tried information_schema.columns before, it didn't...
August 18, 2008 at 7:16 am
Thank you!
This helped a lot!
Now, I have another task to do - I need to summarize values of all the 'fee' fields for each row.
Now there three 'fee' fields, but...
August 18, 2008 at 6:55 am
Sorry, I forgot to add one more field.
I need a row value field mixed with the aggregate on the selects.
That's why it's problematic to use GROUP BY (and HAVING for...
July 28, 2008 at 2:36 pm
Thank you again, John!
I'll test it tomorrow at work.
July 14, 2008 at 9:43 pm
Thank you!
I'll try this one, too.
But I wonder if CTE is SQL 2000 compatible. My database is on a SQL 2000 server.
July 14, 2008 at 9:42 pm
Hi Steve!
You are right - I do sound confusing and I'm sorry about that. :blush:
Three or five - doesn't matter. Let's make it three.
It's sampling data with no particular criteria.
Let's...
July 14, 2008 at 1:16 pm
Ken,
What I need is the minimum order_id for each buyer and five items for each of the orders.
The result should look something like this:
Buyer_id order_id ...
July 14, 2008 at 9:59 am
Viewing 15 posts - 1 through 15 (of 17 total)