Oracle Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsDatabasesOracle Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 8th, 2012, 05:19 AM
number_one number_one is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2012
Posts: 7 number_one Negative: is most likely a SPAMMER and a traitor to the cause. 
Time spent in forums: 1 h 50 m
Reputation Power: 0
Could someone double check my codes for me please

hey i created some table in my sql but am having some problems after i have created the tables and i view the full name of some the table headings dont show up could some1 please double check my codes for me please


CREATE TABLE AREA (

Area_ID char (4) NOT NULL,
Area char (7) ,

Constraints AREA PRIMARY KEY (Area_ID));

INSERT INTO AREA VALUES ( '1','Area A');
INSERT INTO AREA VALUES ( '7',' Area B');
INSERT INTO AREA VALUES ( '1842','Area FA');
INSERT INTO AREA VALUES ( '78','Area C');
INSERT INTO AREA VALUES ( '111','Area X');


IN THIS CODE THE AREA_ID ONLY APPEARS AS AREA AND I DONT KNOW WHATS WRONG .. SO IT APPEARS AS I GOT AREA TWICE NOT AREA_ID AND AREA


I HAVE THE SAME PROBLEM WITH THIS CODE ASWEL


CREATE TABLE Location (

LocationID char (4) NOT NULL,
LocationName char (30) ,

Constraints Location PRIMARY KEY (LocationID));

INSERT INTO Location VALUES ( '123','Loc A')
INSERT INTO Location VALUES ( '124','Loc B')
INSERT INTO Location VALUES ( '125','Loc C')
INSERT INTO Location VALUES ( '126','Loc D')
INSERT INTO Location VALUES ( '127','Loc E')
INSERT INTO Location VALUES ( '130','Loc F')
INSERT INTO Location VALUES ( '1123','Loc G')
INSERT INTO Location VALUES ( '321','Loc H')
INSERT INTO Location VALUES ( '99','Loc I')
INSERT INTO Location VALUES ( '97','Loc J')


AND HERE
CREATE TABLE Job (

JobID char (3) NOT NULL,
Job_Title char (30) ,

Constraints Job PRIMARY KEY (JobID));

INSERT INTO Job VALUES ( '1','');
INSERT INTO Job VALUES ( '2','');
INSERT INTO Job VALUES ( '3','');
INSERT INTO Job VALUES ( '4','');
INSERT INTO Job VALUES ( '5','');
INSERT INTO Job VALUES ( '6','');
INSERT INTO Job VALUES ( '7','');
INSERT INTO Job VALUES ( '8','');
INSERT INTO Job VALUES ( '9','');
INSERT INTO Job VALUES ( '10','');
INSERT INTO Job VALUES ( '11','');
INSERT INTO Job VALUES ( '12','');
INSERT INTO Job VALUES ( '13','');


THE FULL NAME JobID does not show up just says jobs
could someone please look at the and suggest possibles solutions please

Reply With Quote
  #2  
Old July 8th, 2012, 07:26 AM
r937's Avatar
r937 r937 is offline
SQL Consultant
Click here for more information.
 
Join Date: Feb 2003
Location: Toronto Canada
Posts: 26,371 r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level) 
Time spent in forums: 3 Months 1 Week 2 Days 6 h 32 m 9 sec
Reputation Power: 4140
Quote:
Originally Posted by number_one
THE FULL NAME JobID does not show up just says jobs
where exactly are you looking for these names to show up?
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book

Reply With Quote
  #3  
Old July 8th, 2012, 12:25 PM
number_one number_one is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2012
Posts: 7 number_one Negative: is most likely a SPAMMER and a traitor to the cause. 
Time spent in forums: 1 h 50 m
Reputation Power: 0
Quote:
Originally Posted by r937
where exactly are you looking for these names to show up?


when i view the table on iSQL plus oracle.. after a table has been created instead of the table to displaying the full name of the attribute as e.g AreaID it only displays it as Area and doesn't include the ID

do u know how i could the whole attribute name show up and not just part of it

Reply With Quote
  #4  
Old July 8th, 2012, 12:48 PM
r937's Avatar
r937 r937 is offline
SQL Consultant
Click here for more information.
 
Join Date: Feb 2003
Location: Toronto Canada
Posts: 26,371 r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level) 
Time spent in forums: 3 Months 1 Week 2 Days 6 h 32 m 9 sec
Reputation Power: 4140
Quote:
Originally Posted by number_one
when i view the table on iSQL plus oracle..
thread moved to oracle forum

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesOracle Development > Could someone double check my codes for me please

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap