[8i] Need help with hierarchical (connect by) query
First, I'm working in 8i.
My problem is, I keep getting the error ORA-01437: cannot have join with CONNECT BY.
And, the reason I get that error is because one of the criteria I need to use to prune some branches with is in another table... Is there anyway to work around this? I tried an in-line view (but got the same error). I thought about using the connect by query as an in-line view and filtering off what I don't want that way, but I'm not sure how to filter out an entire branch...
Here is some simplified sample data:
CREATE TABLE bom_test
( parent CHAR(25)
, component CHAR(25)
, qty_per NUMBER(9,5)
INSERT INTO bom_test
VALUES ('ABC-1','101-34',10);
INSERT INTO bom_test
VALUES ('ABC-1','A-109-347',2);
INSERT INTO bom_test
VALUES ('ABC-1','ABC-100G',1);
INSERT INTO bom_test
VALUES ('ABC-1','1A247G01',2);
INSERT INTO bom_test
VALUES ('ABC-100G','70052',18);
INSERT INTO bom_test
VALUES ('ABC-100G','M9532-278',5);
INSERT INTO bom_test
VALUES ('1A247G01','X525-101',2);
INSERT INTO bom_test
VALUES ('1A247G01','1062-324',2);
INSERT INTO bom_test
VALUES ('X525-101','R245-9010',2);
CREATE TABLE part_test
( part_nbr CHAR(25)
, part_type CHAR(1)
INSERT INTO part_test
VALUES ('ABC-1','M');
INSERT INTO part_test
VALUES ('101-34','P');
INSERT INTO part_test
VALUES ('A-109-347','P');
INSERT INTO part_test
VALUES ('ABC-100G','M');
INSERT INTO part_test
VALUES ('1A247G01','P');
INSERT INTO part_test
VALUES ('70052','P');
INSERT INTO part_test
VALUES ('M9532-278','P');
INSERT INTO part_test
VALUES ('X525-101','M');
INSERT INTO part_test
VALUES ('1062-324','P');
INSERT INTO part_test
VALUES ('R245-9010','P');This is the basic query (with no pruning of branches):
SELECT LEVEL
, b.component
, b.parent
, b.qty_per
FROM bom_test b
START WITH b.parent = 'ABC-1'
CONNECT BY PRIOR b.component = b.parentThe query above gives the results:
LEVEL COMPONENT PARENT QTY_PER
1.000 101-34 ABC-1 10.000
1.000 A-109-347 ABC-1 2.000
1.000 ABC-100G ABC-1 1.000
2.000 70052 ABC-100G 18.000
2.000 M9532-278 ABC-100G 5.000
1.000 1A247G01 ABC-1 2.000
2.000 X525-101 1A247G01 2.000
3.000 R245-9010 X525-101 2.000
2.000 1062-324 1A247G01 2.000
9 rows selected....but I only want the branches (children, grandchildren, etc.) of part type 'M'.
e.g.:
LEVEL COMPONENT PARENT QTY_PER
1.000 101-34 ABC-1 10.000
1.000 A-109-347 ABC-1 2.000
1.000 ABC-100G ABC-1 1.000
2.000 70052 ABC-100G 18.000
2.000 M9532-278 ABC-100G 5.000
1.000 1A247G01 ABC-1 2.000Any suggestions?
Hi,
user11033437 wrote:
First, I'm working in 8i.
My problem is, I keep getting the error ORA-01437: cannot have join with CONNECT BY.
And, the reason I get that error is because one of the criteria I need to use to prune some branches with is in another table... Is there anyway to work around this? I tried an in-line view (but got the same error). Post your query. It's very hard to tell what you're doing wrong if we don't know what you're doing.
...but I only want the branches (children, grandchildren, etc.) of part type 'M'.
e.g.:
LEVEL COMPONENT PARENT QTY_PER
1.000 101-34 ABC-1 10.000
1.000 A-109-347 ABC-1 2.000
1.000 ABC-100G ABC-1 1.000
2.000 70052 ABC-100G 18.000
2.000 M9532-278 ABC-100G 5.000
1.000 1A247G01 ABC-1 2.000
You mean you want don't want the descendants (children, grandchildren, etc.) of any component whose part_type is not 'M'.
The part_type of the component itself doesn't matter: component '101-34' is included, even though its part_type is 'P', and component 'X525-101' is excluded, even though its part_type is 'M'.
>
Any suggestions?Sorry, I don't have an Oracle 8.1 database at hand now. All three of the queries below get the correct results in Oracle 10.2, and I don't believe they do anything that isn't allowed in 8.1.
You can't do a join and CONNECT BY in the same query on Oracle 8.1.
I believe you can do one first, then the other, using in-line views. The frist two queries do the join first.
-- Query 1: Join First
SELECT LEVEL
, component
, parent
, qty_per
FROM ( -- Begin in-line view to join bom_test and part_test
SELECT b.component
, b.parent
, b.qty_per
, p.part_type AS parent_type
FROM bom_test b
, part_test p
WHERE p.part_nbr = b.parent
) -- End in-line view to join bom_test and part_test
START WITH parent = 'ABC-1'
CONNECT BY parent = PRIOR component
AND parent_type = 'M'
;Query 2 is very much like Query 1, but it does more filtering in the sub-query, returning only rows hose part_type or whose parent's part_type is 'M". Your desired result set will be a tree taken entirely from this set. Query 2 may be faster, because the sub-query is more selective, but then again, it may be slower because it has to do an extra join.
{code}
-- Query 2: Join first, prune in sub-query
SELECT LEVEL
, component
, parent
, qty_per
FROM ( -- Begin in-line view to join bom_test and part_test
SELECT b.component
, b.parent
, b.qty_per
, p.part_type AS parent_type
FROM bom_test b
, part_test p
, part_test c
WHERE p.part_nbr = b.parent
AND c.part_nbr = b.component
AND 'M' IN (c.part_type, p.part_type)
) -- End in-line view to join bom_test and part_test
START WITH parent = 'ABC-1'
CONNECT BY parent = PRIOR component
AND parent_type = 'M'
{code}
Query 3, below, takes a completely different approach. It does the CONNECT BY query first, then does a join to see what the parent's part_type is. We can easily cut out all the nodes whose parent's part_type is not 'M', but that will leave components like 'R245-9010' whose parent has part_type 'M', but should be excluded because its parent is excluded. To get the correct results, we can do another CONNECT BY query, using the same START WITH and CONNECT BY conditions, but this time only looking at the pruhed results of the first CONNECT BY query.
{code}
-- Query 3: CONNECT BY, Prune, CONNECT BY again
SELECT LEVEL
, component
, parent
, qty_per
FROM ( -- Begin in-line view of 'M' parts in hierarchy
SELECT h.component
, h.parent
, h.qty_per
FROM ( -- Begin in-line view h, hierarchy from bom_test
SELECT component
, parent
, qty_per
FROM bom_test
START WITH parent = 'ABC-1'
CONNECT BY parent = PRIOR component
) h -- End in-line view h, hierarchy from bom_test
, part_test p
WHERE p.part_nbr = h.parent
AND p.part_type = 'M'
) -- End in-line view of 'M' parts in hierarchy
START WITH parent = 'ABC-1'
CONNECT BY parent = PRIOR component
{code}
I suspect that Query 3 will be slower than the others, but if the CONNECT BY query is extremely selective, it may be better.
It would be interesting to see your findings using the full tables. Please post your observations and the explain plan output.
As usual, your message is a model of completeness and clarity:
<ul>
<li>good sample data,
<li> posted in a way people can use it,
<li>clear results,
<li> good explanation
<li> nciely formatted code
</ul>
Keep up the good work!
Similar Messages
-
Need help with iphone4 connecting to computer
On the weekend my friend had put her iphone4 on my computer and now wen i connect my iphone4 to my computer it keeps saying that my iphone is her iphone but its not...
I really need help coz its doin my head in, i have uninstalled the driver and itunes and reinstalled both and it still does the same thingtry changing the following wireless settings
radio band - wide
wide channel - 9
standard channel - 11
if this doesn't work , ensure that the router has the latest firmware .. -
Need help with WRT300N connecting to a Wireless-G Adapter
I currently purchased the WRT300N router. I have everything working and it connects to my hardwired pc and my laptop. Only problem I am running across is that I cannot get my other computer to recognise the connectino when the router is set to mixed. Now the computer will recognise the connection if I set the router to wireless - g mode only. But that defeats the purpose becaus I need the wireless-n connection for another computer that has the wireless - n adapter. Anyone know a fix for this, or maybe is havint the same problem?
try changing the following wireless settings
radio band - wide
wide channel - 9
standard channel - 11
if this doesn't work , ensure that the router has the latest firmware .. -
Non-technical user needs help with Microsoft Access/MS-Query connection
I've read through some of the other threads on problems with the ODBC connection from MS Access to an Oracle database but as a non-techie I'm afraid I need to ask based on the steps I have always used. I'm not totally inexperienced as I have gone through the same steps on multiple Windows XP machine running different versions of Oracle and Office over the past 10 years but the steps aren't working this time. If there are settings that need to be checked or changed (path, etc.) I'm afraid I'll need specific instructions as to where I need to look for them.
I'm currently trying to set up a connection on a new laptop running a 64-bit version of Windows 2007 Professional.
1) I've installed a full 64 bit Oracle 11g client and 32 bit copy of Microsoft Office Professional Plus 2013.
2) I set up the Oracle data source using the client Net Manager. I can connect from there.
3) I added it in the Oracle-provided Microsoft ODBC Administrator and can connect from there.
I the past, after doing this, the was automatically included in the list of ODBC Databases in MS Acess but this time it's not. I tried adding it as a new data source by selecting the Microsoft ODBC for Oracle driver but receive the same "The Oracle(tm) client and networking components were not found" error message that has plagued so many others.This is bad code, for lots of reasons:
(1) Scriptlet code like this should not be used. Learn JSTL and use its <sql> tags if you must.
(2) This code belongs in a Java object that you can test outside of a JSP. JSPs are for display only. Let server-side objects do the database work for you.
(3) You don't close any ResultSet, Statement, or Connection that I can see. Microsoft Access doesn't save any records until you close the Connection.
(4) You don't have any transactional logic. When you write to a database, you usually want it to be a unit of work that is committed or rolled back together.
% -
Need Help with Creating the SQl query
Hi,
SQL query gurus...
INFORMATION:
I have two table, CURRENT and PREVIOUS.(Table Defs below).
CURRENT:
Column1 - CURR_PARENT
Column2 - CURR_CHILD
Column3 - CURR_CHILD_ATTRIBUTE 1
Column4 - CURR_CHILD_ATTRIBUTE 2
Column5 - CURR_CHILD_ATTRIBUTE 3
PREVIOUS:
Column1 - PREV_PARENT
Column2 - PREV_CHILD
Column3 - PREV_CHILD_ATTRIBUTE 1
Column4 - PREV_CHILD_ATTRIBUTE 2
Column5 - PREV_CHILD_ATTRIBUTE 3
PROBLEM STATEMENT
Here the columns 3 to 5 are the attributes of the Child. Lets assume that I have two loads, One Today which goes to the CURRENT table and one yesterday which goes to the PREVIOUS table. Between these two loads there is a CHANGE in the value for Columns either 3/4/5 or all of them(doesnt matter if one or all).
I want to determine what properties for the child have changed with the help of a MOST efficient SQL query.(PARENT+CHILD is unique key). The Database is ofcourse ORACLE.
Please help.
Regards,
ParagHi,
The last message was not posted by the same user_name that started the thread.
Please don't do that: it's confusing.
Earlier replies give you the information you want, with one row of output (maximum) per row in current_tbl. There may be 1, 2 or 3 changes on a row.
You just have to unpivot that data to get one row for every change, like this:
WITH single_row AS
SELECT c.curr_parent
, c.curr_child
, c.curr_child_attribute1
, c.curr_child_attribute2
, c.curr_child_attribute3
, DECODE (c.curr_child_attribute1, p.prev_child_attribute1, 0, 1) AS diff1
, DECODE (c.curr_child_attribute2, p.prev_child_attribute2, 0, 2) AS diff2
, DECODE (c.curr_child_attribute3, p.prev_child_attribute3, 0, 3) AS diff3
FROM current_tbl c
JOIN previous_tbl p ON c.curr_parent = p.prev_parent
AND c.curr_child = p.prev_child
WHERE c.curr_child_attribute1 != p.prev_child_attribute1
OR c.curr_child_attribute2 != p.prev_child_attribute2
OR c.curr_child_attribute3 != p.prev_child_attribute3
, cntr AS
SELECT LEVEL AS n
FROM dual
CONNECT BY LEVEL <= 3
SELECT s.curr_parent AS parent
, s.curr_child AS child
, CASE c.n
WHEN 1 THEN s.curr_child_attribute1
WHEN 2 THEN s.curr_child_attribute2
WHEN 3 THEN s.curr_child_attribute3
END AS attribute
, c.n AS attribute_value
FROM single_row s
JOIN cntr c ON c.n IN ( s.diff1
, s.diff2
, s.diff3
ORDER BY attribute_value
, parent
, child
; -
Need help with division within a query
Hello all~
I am trying to divide these two columns to get a % of case numbers involving an accident. Im pretty sure you need to use decode to avoid the divide by 0 error but not sure how to implement this within my query. When i run this query below, it gives me the result of "1", which is not correct. Can someone help me please?
Oracle Version 10g
ACCIDENT is a datatype VARCHAR
CASE_NUMBER is a datatype VARCHAR
select to_char(count(ACCIDENT),'999,999,999') as "ACCIDENT",
to_char(COUNT(CASE_NUMBER),'999,999,999')as "CASE NUMBER",
round(ratio_to_report(count(accident))
OVER()*100,2)as "%"
from "PURSUIT"
WHERE ACCIDENT = 'Y'
AND
(:P1_BEG_DATE IS NULL AND :P1_END_DATE IS NULL
OR
pursuit_date BETWEEN to_date(:p1_beg_date,'MM/DD/YYYY') and to_date
(:p1_end_date,'MM/DD/YYYY'))
AND(:P1_TROOP=pursuit.officer_troop OR :p1_troop IS NULL)
AND(:P1_RADIO=pursuit.officer_radio OR :p1_radio IS NULL)
group by case_numberThanks
DeannaAre you sure that the ANDs and ORs in your WHERE clause will take precedence properly?
Also, if you always select only cases where there has been an accident, what percentage would you like to display? Surely in this case the percentage of cases involving in accident in cases where there was an accident.. is 100%?
as a simpler example
SELECT
accident,
ROUND(RATIO_TO_REPORT(count(*)) OVER() * 100)
FROM
pursuit
GROUP BY
accidentHere's a trick to neaten up those IS NULLs:
SELECT
accident,
ROUND(RATIO_TO_REPORT(count(*)) OVER() * 100)
FROM
pursuit
WHERE
pursuit_date >= COALESCE(:p1_beg_date, pursuit_date) AND
pursuit_date <= COALESCE(:p1_end_date, pursuit_date) AND
officer_troop LIKE :p1_troop AND
offcier_radio LIKE :p1_radio
GROUP BY
accidentTo wildcard a date, simply pass NULL in; the coalesce will replace the null with the pursuit_date from the record (thus the >= and <= becomes true)
To wildcard the troop or the radio, simply pass a '%' symbol as the value of the parameter. If the front end code is already set up to pass nulls, use the COALESCE trick above -
Need Help with hierarchies in BI
Hi BI Gurus,
i got a question for u all there..
i am novice in BI and i am using a time dependent hierarchy in my query..
1) i want to display only one node of the hierarchy in the report.
say for ex.. i am using 0orgunit which has three nodes and
subsequent leaves in it. i want to display only one particular
node.
2) one node in my query is not being displayed in Bex. its putting that particular nodes leaves in unassigned nodes.
can you guys please help me out with the answers
thanks in advance
point will b awarded for the helful answers.
regards
MazharMazhar,
Maintain the hierarchy for the object and in the Hierarchy display properties of that info object you can maintain the levels.
If the values are appearing in Unassigned then you need to check out the hierarchy definition once. Please check out that and revert back if you have the same issue repeats.
Hope this helps...
Regards
Gattu -
Need help with Adobe Connect Pro templates
Hi Everyone -
I'm working with a colleague to help her prepare a few webinars. I originally created a series of meetings for her, but she wants to use customized templates. Apparently, you cannot apply a customized template to an existing meeting; you need to select the template when you create the meeting.
My colleague reports the following:
I deleted the webinars you created in Adobe Connect so that I could re-create them with my new meeting template.
I saved the my meeting template first in "My Templates" and tried creating the meetings, but was unsuccessful at using the template. Then I tried creating the meetings with my template in "Shared templates." Still no luck.
No matter what I do, once the meeting is set up (having selected the my meeting template) and I enter the meeting room, I just get blank space and this message:
"The template you are looking at is the one we use if the default template feature is not working."
I then emailed support at Clarix and got the following, fairly unhelpful advice:
What we are assuming is a template was deleted. Now, the way templates work: There are default ones, used to create a meeting. If you use that meeting to create a template, the new template in fact relies on the previous existing template. So, you are winding up with a chicken and the egg scenario – it doesn’t know where to begin.
So, best practice – never delete a template – any template that was created based on the original will not work.
This doesn't seem to be a solution to a problem, and since I'm new to working with templates in ACP, I am wondering if anyone else out there has any advice.
Thanks in advance!
LucyHi Lucy,
In order to use a meeting as a template you have to move that particular meeting into shared Template folder and then while creating any new meeting you will get an option to use that meeting as a Template for your New meeting. Also please revert with some more details so that we can look into that matter more clearly.
Also you can contact the Technical Support for Connect its free of cost the number is 18004223623
Thanks!
Swetank -
Need help with database connection and trasaction!
Hi, I'm trying to load data from a huge report to DB2. My old way of doing this is: 1. using DriverManger.getConnection to get a connection.
2. Then set autoCommit to false.
3. Keep the connection open.....
4. con.commit once I reach a section, let's say around 5000 records per section.
5. Close the connection once I finish loading, (Finally block)
I'm still new in the java world and kind of concern of the way of what I'm doing. Then I did some research. Perhaps using javax.sql.DataSource is a better approach. But I couldn't use it in WSAD. Do I need do some configuration? I heard it's in j2ee 1.4 . Is that the reason I couldn't use it?
And.......I tried to use DAO pattern to talk with DB. By that way, I have to open and close connection everytime I invoke the dao method. Then how can I control the transaction? Because I don't want to insert each record data in to the table right away. I want to do the commit once I get all records for one section. No idea how can I achieve this.
Any suggestion will be really appreciated!!!I'm still new in the java world and kind of concern
of the way of what I'm doing. Then I did some
research. Perhaps using javax.sql.DataSource is a
better approach. But I couldn't use it in WSAD. Do I
need do some configuration? I heard it's in j2ee 1.4
. Is that the reason I couldn't use it?What you need to do is configure a Connection datasource. WSAD has that. You just need to go through the documentation and find out. I never worked on it.
And.......I tried to use DAO pattern to talk with DB.
By that way, I have to open and close connection
everytime I invoke the dao method. Then how can I
control the transaction? Because I don't want to
insert each record data in to the table right away. I
want to do the commit once I get all records for one
section. No idea how can I achieve this.Since you want to simply insert multiple records, you might want to insert them in a batch. This is available in PreparedStatements.
$ Carol. -
Need help with G5 connected to AirPortExpress!
I simply can't find the source of this problem, and any help is very welcome:
When my G5 2x2,5GHz and OS 10.4.8 is connected to my AirPort Express network, the connection suddenly becomes very slow and it takes forever to download a simple page. The message "You are not connected to Internet" often shows up, and trying to reconnect fails. The only solution is to restart both the ADSL modem and the Airport Express.
- The funny thing is that with my brand new MacBookPro and the old iMac G4, this never happens. They stay connected both to the network and Internet without any similiar problems.
Could it be the wireless antenna on the back of the G5, or could it be some security settings or OSX problems on the G5? I am not sure how to find the source of the problem...
Helge K.Hello Helge,
I have a couple of questions.
How is the speed during a file transfer between the G5 and the imac ( say a large file) compared to the iMac and the Macbook?
Forget the web for a minute here and let zero down on the problem. Is it the current network, or a specific machine, or is it that basted ADSL modem?
Try transferring a file over your network and compare if there is a noticeable difference then lets move that G5 away from the wall ( the ant is in the back) and try with the G5 turn 180 degrees around, any better? If not double check the ant lead that connects to the card or take in for service and have the unit inspected for a pinched/ loose cable.
If moving a file around the network is ok then we have a web issue. Run a trace-route to Apple's main site and compare it to the macbook. What's different?
Nothing? Then there is the famous reset Safari and test or see what Firefox does.
Good Luck,
Cowsweat -
Need help with select statement or query
Not familiar with what to call it, but here is what i need...
To give our analyst a better idea of warranty on some of our
equipment, i
would like to add to the page a column that displays if the
device is still
under warranty
I currently capture the date the equipment was returned from
repair, so what
could i use within my select statement or query to display a
warranty
expiration date or display on the page...
example :
Returned from repair 10/20/2006 warranty expires on
11/20/2006
each equipment has different warranties, so i need a formula
or something to
say... device #1 has 60 day warranty ( so 10/20/2006 + 60days
=
12/19/2006 )
I would imagine this to be a query
Table 1 would contain the equipment type and warranty time
Table 2 would contain the current status of the equipment
Query would take the back from repair date + warranty =
expiration dateSimple. Join the two tables and create a derived column for
the expiration date. The exact syntax is dependant on your DBMS, so
check the manual for whichever you are using and look at the date
functions. There will be a function that will allow you to add a
number of date units (day, month, year, etc) to a date
field. -
I need help with socket connection pooling please
I need a basic connection pooling system for the code below users sets number connections 5 etc.
<main class>
s = new ListService(ssock.accept(),serverDir); //give list to client
Thread t = new Thread(s);
t.start();
<main class>
class ListService implements Runnable
Socket client;
String serverDir;
public ListService(Socket client,String serverDir)
this.client = client;
this.serverDir = serverDir;
public void run()
try
BufferedWriter out = new BufferedWriter(new OutputStreamWriter(client.getOutputStream()));
// send something to client
catch(Exception e)
System.out.println(e);
System.out.println("client disconnected\n");
catch(Exception e){}
Thank you so muchMy code already accepts multi clients I need pooling only 5 clients can be using the server at a time when one client disconnects that means another incoming client can enter the pool to use the server.
I tried to do a counter so when a connection is made it increments and then if counter>=numOfClients
set a variable to true or false and this is sent with the server setup so it determines if the server code is run or it just closes the connection but there is no way I can access the counter variable from within a runnable class thread when a client closes connection it should -1 from the variable
thanks -
Need help with Hierarchical Select List
I'm trying to left-pad the entries in a select list to indicate organizational hierarchy. Here's the query:
SELECT
LPAD(' ',2*(LEVEL-1)) || ORG_NM d,
ORG_ID r
FROM
ORG_ENTITIES
START WITH ORG_ID = 901
CONNECT BY PRIOR ORG_ID = MNG_ORG_ID
ORDER BY 2;
(there are two spaces between the single quotes)
It seems to work fine from a standard SQL prompt, but it looks as if either Apex or the browser is stripping off the spaces in the padding. Can someone point out a reason? I'm using Application Express 3.0.0.00.20. Thanks.I've used the concatenation of two items to create space between them before, and that works fine. This is an LPAD situation, however, as there is only one item.
I did try the & nbsp; in place of the literal space character. The select list strips out the & and I get some variation of the literal characters. I even tried using periods in place of spaces for the padding and that didn't work either.
Don't know what is going on. -
Need help with intenet connection in east europe
I've got as a present blackberry 7130c, nice phone, but unfortunately in our country does not exist blackberry service.
Everything works like a charm in this phone, besides internet, and MMS, I entered the APN, but it says: "data connection refuse", my service provider says bleckberry is unable to work with their internet settings.
A few words about our network, we've got GPRS and EDGE here. it's GSM 900.
So how to configure my blackberry to work properly?
May be somone knows, I've got "cingular" version of 7130c.seems as you did not understood the questtion.... I dont need to configure blackberry services i just want to configure internet on my blackberry device in Moldova.
Our mobile operators does not have blackberry services.
Victor -
Need help with MySQL connection error _mmServerScripts
Trying to create insert a recordset I got the message:
"The files from the _mmServerScripts folder are for the server model PHP-MySQL. You try to connect to a database using a different server model .Please remove this folder outside the Dreamweaver environment on both local and testing machines and try again."
I've searched the net and have seen this message hunting people since dw8...
I could not find a "cure".
Things to notice:
0 - Yes the whole thing is apache/php/mysql... just DW thinks it's not.
1 - Both the connection and the Recordset actualy works. I have a whole site based on this connection and the recorsets I've created manualy based on it.
2 - It does not matter if we erase or not the _mmServerScripts folder the message stands still allover.
3 - The problem seems to show up when you split servers...
3.1 - If I test in a WAMP environment where apache and mysql are in the same machine I can use DW to create data objects for me.
3.2 - If I test in my real test environment which have web server and db server separated from each other then I can't use DW to create data objects, see bindings, behaviours etc... all I get is this message.... while the code itself runs fine anyway.
Does any one already knows how to work around or fix this?
Thanks,
JulioThanks PZ,
Yes everything is fine with the site definition.
everything works. I can upload, run, test all ok.
The only thing that does not work is to insert any sort of data object through DW interface. If I declare my reordsets by hands or even If I use the ones DW created in my local test server all works fine.
Then if I use the site definition and try to see any bindings or create a recordset or create a new connection using dw... then the messages come up and dw can't go any further in that task.
By spli servers I mean one phisical linux server with apache/php but without mySQL + one physical Linux server with mySQL but without apache/php.
So when I use a site definition that points either to a WAMP or LAMP i.e. when everything is in the same machine DW goes happy and does whatever it's asked to do.
When I try that on the real mccoy environment (with the two separated servers)... It looks like DW gets confused...
Maybe you are looking for
-
Trying to restore settings/apps from iPhone GS to 4S
Backed up old iPhone GS to computer. After registering new phone, "Restore from backup" doesn't come up as option for 4S phone. How to load old settings/ringtones/apps from old phone to new?
-
My last 17" MacBook Pro?
Just like in this thread (https://discussions.apple.com/message/18617731#18617731), I cannot believe that Apple has abandoned the 17" market. As a web designer and photographer, I absolutely need (and LOVE) the extra room and impact the 17" display
-
Universal view settings on one computer
Hi! I'm using Adobe Acrobat Pro v. 9.3.2. I'm wondering if there is any way to apply the same view settings for all PDF-files I open? The problem is that I can open one document and read it for instance with single page continous settings. The next P
-
Multi Language Adobe Print forms
Hi all, For a client we have a client that wants to have adobe printforms in 4 language. We have notice that SAP can translate adobe lables and text in transaction S63 FCODE PDFB. I'm able to see the translation and copy it and make changes as soon a
-
I have been using PS CC in small doses for about two weeks. Today it crashed and I received a message stating that my primary disk, which is a SSDD, had insufficient space. I cleaned it up, released plenty of space, but now the PS CC will not launc