Viewing 15 posts - 4,546 through 4,560 (of 8,731 total)
The ORDER BY clause is not valid in views, inline functions, derived tables, and subqueries, unless either the TOP or OFFSET and FETCH clauses are also specified. When...
August 3, 2015 at 7:47 am
adonetok (8/3/2015)
select distinct ORDERID from (select top 100 percent ORDERID,ORDERDate from ORDER where ORDERID = '123456' order...
August 3, 2015 at 7:45 am
ben.brugman (8/3/2015)
In general I am in favor to enforce constraints...
August 3, 2015 at 7:42 am
sgmunson (8/3/2015)
ben.brugman (8/3/2015)
August 3, 2015 at 7:38 am
Ed Wagner (8/3/2015)
Koen Verbeeck (8/3/2015)
Back after 2 weeks of holiday.Did I miss anything important? 🙂
Are the posted questions getting better now?
I couldn't tell you, Koen. I'm back after a...
August 3, 2015 at 6:47 am
Jeff Moden (8/2/2015)
Alvin Ramard (8/1/2015)
Jeff Moden (7/31/2015)
Alvin Ramard (7/31/2015)
I guess I've had enough of this forum for this week.http://www.sqlservercentral.com/Forums/Topic1707595-2799-1.aspx
You did fine and you're absolutely spot on. You've said...
August 2, 2015 at 11:03 am
Eirikur Eiriksson (8/2/2015)
August 2, 2015 at 8:33 am
Just a couple of clarifications.
To change the code into a stored procedure, you just change the variables declaration to become your SP header.
The query does not use the column list...
July 31, 2015 at 2:10 pm
coolchaitu (7/31/2015)
Thanks for the reply. I had attached the execution plan in my previous post.
No, you didn't. You attached an image of the execution plan which isn't the same thing...
July 31, 2015 at 1:10 pm
I feel like I should apologize for Alvin as his answer might seem rude. But he makes a very good point.
There's a lot of documentation on the changes from what...
July 31, 2015 at 1:04 pm
That doesn't help a lot. You should post DDL for the tables, views and indexes involved and actual execution plan (right click on the execution plan and Save As...).
The index...
July 31, 2015 at 12:46 pm
The Dixie Flatline (7/31/2015)
Alvin Ramard (7/31/2015)
Luis Cazares (7/31/2015)
WayneS (7/31/2015)
Looks like Luis is answering Oracle questions now.
That wasn't the only attempt on that day. Here's a completely lost Oracle user.
But hey,...
July 31, 2015 at 12:25 pm
Your sample data doesn't help much to test and validate. I had to make several corrections which mean that you didn't test your sample data.
This might be an option, but...
July 31, 2015 at 12:12 pm
Naveen PK (7/31/2015)
Luis Cazares (7/31/2015)
July 31, 2015 at 12:08 pm
I agree, the table name is not enough information to eliminate duplicates, the columns defining the key are necessary.
A lot of things can make a row unique even if it's...
July 31, 2015 at 10:31 am
Viewing 15 posts - 4,546 through 4,560 (of 8,731 total)