Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

assighn table id

 
mkabdul kadermk
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


can i assign id for each table in mysql database???
if assign , explain it..
 
Lalit Mehra
Ranch Hand
Posts: 384
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes buddy you can ...

just try like this ... while creating a query ... e.g.

String query = "Select * from Titles T, Names N where T.name = N.name";

I hope this'll work
 
mkabdul kadermk
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Lalit Mehra wrote:yes buddy you can ...

just try like this ... while creating a query ... e.g.

String query = "Select * from Titles T, Names N where T.name = N.name";

I hope this'll work


thanks for reply

i cant understand this one..hw assign unique id for table...

that id returns table name...

hw can i do it??
 
mkabdul kadermk
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Lalit Mehra wrote:yes buddy you can ...

just try like this ... while creating a query ... e.g.

String query = "Select * from Titles T, Names N where T.name = N.name";

I hope this'll work


thanks for reply

i cant understand this one..

hw assign unique id for table...

how do i set id for each table in database??

that id is used to find that table name...

hw can i do it??

please reply me..

thank you...
 
Jan Cumps
Bartender
Posts: 2615
14
C++ Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please do check your private messages. There is a message for you regarding an administrative matter.
And please be patient.
 
Won't you please? Please won't you be my neighbor? - Fred Rogers. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!