This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JDBC and the fly likes please what is the problem with my SQL data structure? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "please what is the problem with my SQL data structure?" Watch "please what is the problem with my SQL data structure?" New topic
Author

please what is the problem with my SQL data structure?

André Asantos
Ranch Hand

Joined: Nov 23, 2009
Posts: 234
please what is the problem with my SQL data structure?

create table tbEndereco(
rua varchar (100),
bairro varchar (100),
cidade varchar (100),
estado varchar (2),
pais varchar (100),

constraint fk_constraint foreign key (CdFuncionario)
references tbDadosFuncionario(CdFuncionario)
)





André AS
Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2491
    
    8

Hi André,

What is going wrong?
Do you have an error message?
What database are you using?


OCUP UML fundamental and ITIL foundation
youtube channel
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: please what is the problem with my SQL data structure?
 
Similar Threads
Adding a bit new info to the jforum_user table when registerting
Error in executeQuery() on callableStatement
hibernate migration
set values in a table from other
Data truncation issue