• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

B&S: Problem -read field length in bytes

 
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
following is a code to read database.
I want to read field lenght.
right now i used hard coded.

Can anybody help me?



[ August 09, 2007: Message edited by: Barry Gaunt ]
 
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have edited your post because we do not allow such large amounts of code which can possibly tell how to read the datafile.

Now - what exactly to you expect? What is the result that you are getting that is confusing you?

//I have problem here I want to display this field size



Why don't you just print it out?
[ August 09, 2007: Message edited by: Barry Gaunt ]
 
Ranch Hand
Posts: 381
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

following is a code to read database.


It is for reading the schema.
Why you are reading a short value though it is byte?
 
Vaishali Paramane
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Barry & Sanjeev

Thanks for help

My problem solved
[ August 10, 2007: Message edited by: Vaishali Paramane ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic