Viewing 15 posts - 3,841 through 3,855 (of 4,820 total)
Turns out my last attempt was actually almost right. I caught a couple of mistakes because I had actual data to work with. Here's the slightly...
July 11, 2014 at 2:43 pm
Erin Ramsay (7/11/2014)
In theory I've joined 4 tables.I've run a Select * (yeah I know)..
Is there an option to show tableName(or aliasName).columnName in the resultset?
Regards,
Erin
Nope. The only way...
July 11, 2014 at 2:23 pm
You've been asked several times to create the scripts and yet you still continue down the path of providing something less. If you can't follow instructions, or just...
July 11, 2014 at 10:06 am
Avoiding what was asked for isn't going to get you anywhere... That last post only makes things ever so slightly more clear, but does not illuminate a solution....
July 11, 2014 at 8:26 am
matfurrier (7/11/2014)
I'm grateful for all the help.
However, all the scripts that I have tried here are returning me the same result.
I still do not understand why the...
July 11, 2014 at 7:50 am
That LEFT OUTER JOIN really needs to be an INNER JOIN, and will become one anyway due to the WHERE clause. However, this otherwise appears to do what...
July 11, 2014 at 7:12 am
matfurrier (7/11/2014)
The order with the highest number is the last created.
The numeric sequence of...
July 11, 2014 at 6:25 am
Thanks for the update. I was truly scratching my head on this until you explained what you did with it.
July 11, 2014 at 6:02 am
matfurrier (7/11/2014)
This, separated by company (Dimension3_).
Each purchase order (PL.Purchid) generates a transaction in stock (I.TransrefId).
What...
July 11, 2014 at 5:56 am
One thing I noticed right away was that the "slow" one has two "Nested Loop" icons, while the "fast" one does not, and includes parallelism. Taking advantage of...
July 11, 2014 at 5:50 am
Whether or not you're in over your heads on the upgrade is a question I can't answer, but... that said, doing it without a DBA just doesn't sound like...
July 10, 2014 at 10:40 pm
mai.quangvinh (7/10/2014)
Your approach is ok, but I have a request that how to move the last row in your query to the first row position. Actually this...
July 10, 2014 at 10:33 pm
MaggieW (7/10/2014)
Thank you all your gurus for all the beautifully written solns and I adopted Sachin's one in the end!Thank you again!
I'm at a loss to understand, as his query...
July 10, 2014 at 8:54 pm
Glad I could help, and thanks for the update.
July 10, 2014 at 5:05 pm
Doesn't that depend on the cursor? They aren't always evil, ... they're just often not necessary... However, that said, I'm still waiting on the OP...
July 10, 2014 at 4:31 pm
Viewing 15 posts - 3,841 through 3,855 (of 4,820 total)