Viewing 15 posts - 6,451 through 6,465 (of 7,164 total)
Welsh Corgi (5/12/2011)
If this is in Oracle then you should probably be using PL/SQL and posting your question to an Oracle Forum.
Ditto. We have a hard enough time with keeping...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
May 12, 2011 at 10:29 am
Here is a slight variation which will protect you against new "type" values added to your database down the line from altering your expected results:
Yours (re-formatted):
SELECT b_id,
...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
May 12, 2011 at 10:25 am
I think you need to surround the path with double quotes because it has a space in it...something like this:
/c "\\ServerName\AX\WT A to B\Mileage.Bat"
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
May 12, 2011 at 10:14 am
Google is your friend.
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
May 12, 2011 at 10:06 am
Is this for Oracle? What is VARCHAR2(7 BYTE) ?
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
May 12, 2011 at 10:01 am
Indexes? Keys?
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
May 12, 2011 at 10:00 am
JKSQL (5/12/2011)
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
May 12, 2011 at 9:44 am
sturner (5/12/2011)
1) Performance: there is a overhead associated with each batch, from the network...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
May 12, 2011 at 9:41 am
JKSQL (5/12/2011)
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
May 12, 2011 at 9:27 am
Here's a solution using CROSS APPLY that builds off Dixie's idea but does not require an aggregate table to be maintained. It seems to perform well compared to the other...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
May 12, 2011 at 7:28 am
No problem...thanks for bringing out the conversation. If you have a moment please post back if there are further findings or developments in the data type choice.
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
May 12, 2011 at 7:08 am
No problem...if you have a moment please post back when you arrive at the root cause and/or a solution.
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
May 12, 2011 at 7:06 am
lindsaywang (5/11/2011)
...but it has a restriction that we should know the table structure before we insert the data into the table
I only presented the INSERT INTO...EXEC() AT technique because you...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
May 12, 2011 at 7:04 am
Jason-299789 (5/12/2011)
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
May 12, 2011 at 7:01 am
The Dixie Flatline (5/11/2011)
The trick is to make the test for an earlier Trans_Type = 1 quick. ...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
May 11, 2011 at 4:38 pm
Viewing 15 posts - 6,451 through 6,465 (of 7,164 total)