Lost Password?


Go Back   CodeCall Programming Forum > Web Development Forum > Database & Database Programming

Database & Database Programming MySQL, Oracle, SQL, PL/SQL, ABAP, Smart Forms, and other databases and languages. A database is an organized body of related information used in many websites (including CC).

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-21-2006, 10:42 AM
Saint Saint is offline
Learning Programmer
 
Join Date: Aug 2006
Posts: 63
Rep Power: 9
Saint is on a distinguished road
Default Whats wrong with my query!!!

Using Oracle 9 and Toad

Code:
SELECT * FROM charts.flow WHERE UserID in ('3','4');
doesn't work..... I get "Table doesn't exist" although I can look at the schema and see Charts DB and flow table. I even copied them instead of typing to make sure no typing flaws.

Still didn't work. I'm using Toad to do all this by the way.

Next, I did the "Query Builder" where you actually select the databases and tables from a selection chart which built the exact same query!!!! This same query works fine in the Oracle 8 database. Any ideas?
__________________
Hi >> Saint
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 10-22-2006, 05:04 PM
Chrisms Chrisms is offline
Newbie
 
Join Date: Aug 2006
Location: NJ
Age: 19
Posts: 28
Rep Power: 9
Chrisms is on a distinguished road
Send a message via AIM to Chrisms
Default

is Charts capitalized? if it is, and you're on a *nix server, you need to be case sensitive.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 10-22-2006, 07:09 PM
Jordan's Avatar   
Jordan Jordan is offline
Administrator
 
Join Date: Nov 2005
Location: Hendersonville, NC
Posts: 9,224
Last Blog:
Ext JS or Ext GWT
Rep Power: 20
Jordan is just really niceJordan is just really niceJordan is just really niceJordan is just really nice
Send a message via ICQ to Jordan Send a message via AIM to Jordan Send a message via MSN to Jordan
Default

Try using quotes around the table name. I've seen Oracle 9 behave this way.

Code:
SELECT * FROM "charts.flow" WHERE UserID in ('3','4');
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog
The CodeCall Wiki is now fully integrated with vBulletin users! Check it out and add some new pages!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Access database query using sql help !!! ORACLE Visual Basic Programming 4 04-16-2007 02:12 PM
Can someone tell me what is wrong with this vector? phantom3380 C and C++ 2 04-13-2007 04:47 AM
Clear my sql query? reachpradeep Database & Database Programming 0 03-04-2007 01:25 AM
What is wrong with this code convertion ? Jophry C and C++ 1 01-04-2007 01:10 PM
Something wrong... MrDiaz The Lounge 5 07-15-2006 01:57 PM


All times are GMT -5. The time now is 11:58 AM.

Contest Stats

WingedPanther ........ 2753.6
Xav ........ 2704
Brandon W ........ 1702.32
John ........ 1207.73
marwex89 ........ 1175.24
morefood2001 ........ 966.05
dcs ........ 655.75
Steve.L ........ 475.59
orjan ........ 418.58
Aereshaa ........ 383.54

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 98%

Ads