473,379 Members | 1,201 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

SQL Error via ODBC but not in Command Center

If I issue the following SQL in the script center...

SELECT NULLID.PRODTEXT.TEXT
FROM NULLID.PAGES,NULLID.PAGEPRODLINK,NULLID.PRODUCTS,N ULLID.PRODTEXT
WHERE (((((NULLID.PAGES.ID = '00000020' )
AND (NULLID.PAGES.ACTIVEFLAG = '1' ) )
AND (NULLID.PAGES.ID = NULLID.PAGEPRODLINK.PAGEID ) )
AND (NULLID.PAGEPRODLINK.PRODID = NULLID.PRODUCTS.PRODID ) )
AND (NULLID.PRODUCTS.PRODID = NULLID.PRODTEXT.PRODID ) )
ORDER BY NULLID.PRODTEXT.SORTORDER

it returns the desired rows. I copied this SQL directly from the ODBC log I generated where it errors as follows...

[IBM][CLI Driver][DB2/NT] SQL0204N "NULLID.PAGEPRODLINK" is an undefined name. SQLSTATE=42704

This is DB2 6.1 FP11 on Win2K.

Is there some issue in this version of the ODBC driver which I need to work around, such as dividing this into two queries?

--
Michael Lueck
Lueck Data Systems

Remove the upper case letters NOSPAM to contact me directly.
Nov 12 '05 #1
1 1761
Found it... I had forgotten a hard coded path in the program and when it went prod it was still looking at the test config file, thus off to test databases, etc...
--
Michael Lueck
Lueck Data Systems

Remove the upper case letters NOSPAM to contact me directly.
Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Doug Ly | last post by:
Hi , connect to Blah user blah using blah ------------------------------------------------------------------------ Database Connection Information Database server = DB2/6000 7.2.3...
0
by: bazzer | last post by:
hey, im trying to access a microsoft access database from an ASP.NET web application in visual basic 2003.NET. i get the following error when i try running it: Server Error in...
0
by: DC | last post by:
The problem I'm using the .NET GridView and FormView objects for the first time and im getting the error "An OleDbParameter with ParameterName '@ID' is not contained by this...
1
by: DC | last post by:
The problem I'm using the .NET GridView and FormView objects for the first time and im getting the error "An OleDbParameter with ParameterName '@ID' is not contained by this...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.