Viewing 15 posts - 136 through 150 (of 5,503 total)
There's nothing to indicate "the latest one".
The workaroud Chris had to use might not guarantee the correct output each time.
You should define for yourself what "latest one" should be based...
August 6, 2014 at 6:03 am
Without seeing the queries and the actual execution plans it's just guessing...
So, my guess would be parameter sniffing.
For a more detailed answer please provide both, the stand-alone query as well...
August 6, 2014 at 5:54 am
Yes, the 2nd option is used when there's a need to send data from a SQL source to an Oracle target.
August 6, 2014 at 5:48 am
If both tables (Old_item and new_ITEM) are located at Oracle you could use
Execute ('insert into Old_item
...
August 6, 2014 at 2:34 am
Here are a few options to make that single table "smaller":
If the table contains a rather large number of columns (e.g. 50 or more) you might consider "vertical partitioning", meaning...
August 6, 2014 at 2:22 am
without seeing the code or at least the xml (obfuscated if needed) and a description how the xml is generated, any answer would be just guessing...
My guess: either the XML...
August 6, 2014 at 2:11 am
Yes.
If you followed best practice to allow data change by external applications only via stored procedures you could add the OUTPUT clause to the UPDATE statement together with the internal...
August 4, 2014 at 2:31 am
@tom:
My answer (Yes) is based on the "question":
...my indexing will help on this table or should I create index in some other way to optimise performance...
which is close...
August 3, 2014 at 5:47 pm
To be a little more serious:
To add an index depends if there are queries that'll benefit from it.
Adding an index with all columns just because of adding the index doesn't...
August 3, 2014 at 8:38 am
Lynn Pettis (8/3/2014)
Eirikur Eiriksson (8/3/2014)
Where was that Crystal Ball again when one needs it, certain I've seen it somewhere...😎
Actually, I think the Crystal Ball is needed here. I just...
August 3, 2014 at 8:13 am
after a semi-internal discussion the answer we agreed on is:
Yes.
If you need a more detailed answer please provide a more detailed question.
August 3, 2014 at 8:13 am
I've been in a project until recently where we had to develop a new database interacting with several applications.
At the beginning it was just me who advocated against the plan...
August 3, 2014 at 7:59 am
Again: please clarify what you mean by "Null values"!
The best was to explain it is to provide ready to use sample data as described in the first link in my...
August 3, 2014 at 6:26 am
This thread is an excellent example of "logic guessing" because of missing sample data. :angry:
I didn't consider the option that an empty column would be represented by the string 'NULL'...
August 3, 2014 at 6:13 am
Sorry for the wrong term "error".
When running the code I posted I get the expected result you're looking for.
So, to rephrase my response:
Running the code I posted I get the...
August 3, 2014 at 4:56 am
Viewing 15 posts - 136 through 150 (of 5,503 total)