• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Regarding the database name.

 
Devu Shah
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi ,

while going through the questions posted on this group, I have one question?
Whether the database ie the binary filename should be supplied on command prompt or it could be hard coded.?
I have hard coded in my coding ,is it feasible or i have to change my design.

thanks in advance,
Devu.
 
Jayakumar Duraisamy
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Hard coding a database name is not as per the instructions. Moreover it is not a good practice to hard code name of the db in any application.
You can pass to the client via command line or prompt him to enter the data file name.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic