GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Oracle  >  Oracle Forms 4.0
Go To First  |  Previous Question  |  Next Question 
 Oracle Forms 4.0  |  Question 90 of 92    Print  
System _Generate Number
how can you generate the system _generate number in forms automatically
hint: IN FORMS WE CREATING ONE DATA BLOCK BUT ONE CLOUMN (EMPLOYEE_ID) THIS COLUMN GENERATE THE ID NUMBER AUTOMATICALLY WITH OUT CREATING SEQUNENCE



  
Total Answers and Comments: 1 Last Update: August 18, 2008     Asked by: akbuhari 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
August 18, 2008 11:00:33   #1  
usmanahmad Member Since: August 2008   Contribution: 2    

RE: System _Generate Number
1: EMPLOYEE_ID : DBMS_RANDOM.STRING('X' 6); ---- its generates unique EMPLOYEE_ID six char long

2: Then check whether newly generated id is already in DB. Create a cursor which select and return ids and the match both vales. If both are equal then go back to step 1

3: you unique value has created.

I hope this will help you.

Usman

 
Is this answer useful? Yes | No

 Related Questions

 Radio  groups  display  a fixed no of options that are mutually Exclusive .User can select one out of n number of options. 
Latest Answer : Radio groups are logical containers of radio buttons. Radio buttons are the small circles that appear on the screen which the user can click to select values. Radio group selections are mutually exclusive. That is, selection of one radio button deselects ...

 Unlimited no of radio buttons can be assigned to a radio group 
Latest Answer : A good rule of thumb is to have no more than six radio buttons in a radio group. If there are going to be more than six, you might want to consider using a list item, which provides similar functionality. Radio groups are convenient because all of their ...

      Default editor     User_defined editors     system editors. 
Latest Answer : Layout EditorPl/sql EditorMenu Editor ...

 Get_group _row_count System Variables 

List  system  variables  available  in forms 4.0, and not available in forms 3.0?
       System.cordination_operation      System Date_threshold      System.effective_Date      System.event_window      


 A  fetch from a long raw database column PL/Sql assignment to executing the read_image_file built_in procedure to get an image from the file system. 

 Error_type      return character   Error_code      return number   Error_text       return char   
Latest Answer : Well i am not pretty sure about this. I think we can use sqlerrm to trap an error.Thanks.Sandeep ...

how can you generate the system _generate number in forms automaticallyhint: IN FORMS WE CREATING ONE DATA BLOCK BUT ONE CLOUMN (EMPLOYEE_ID) THIS COLUMN GENERATE THE ID NUMBER AUTOMATICALLY WITH OUT 
Latest Answer : 1: EMPLOYEE_ID := DBMS_RANDOM.STRING('X',6); ---- its generates unique EMPLOYEE_ID six char long 2: Then check whether newly generated id is already in DB. Create a cursor which select and return ids and the match both vales. If both are equal then go ...
Read Answers (1) | Asked by : akbuhari


 Sponsored Links

 
Related Articles

Querying Data with Oracle XQuery

Querying Data with Oracle XQuery Starting with Oracle Database 10g Release 2 you can take advantage of a full featured native XQuery engine integrated with the database With Oracle XQuery you can accomplish various tasks involved in developing PHP Oracle XML applications operating on any kind of dat
 

Using Oracle XML DB Repository

Using Oracle XML DB Repository Another variation on accessing and manipulating XML content stored in Oracle database is provided by Oracle XML DB repository which is an essential component of Oracle XML DB mosgoogle NOTE Oracle XML DB repository also known as XML repository is a hierarchically organ
 

Using Oracle Database for Storing, Modifying, and Retrieving XML Data

Using Oracle Database for Storing Modifying and Retrieving XML Data With Oracle XML DB you have various XML storage and XML processing options allowing you to achieve the required level of performance and scalability One of the most interesting things about Oracle XML DB is that it allows you to per
 

XML Processing in PHP and Oracle Applications

Processing XML in PHP Oracle Applications As mentioned there are two alternatives when it comes to performing XML processing in your PHP Oracle application You can perform any required XML processing using either PHP s XML extensions or PEAR XML packages or Oracle s XML features mosgoogle In the fol
 

PHP Oracle Web Development

PHP Oracle Web Development Data processing Security Caching XML Web Services and Ajax The book is written by Yuli Vaseliev a well known author of different web development and programming books PHP Oracle Web Development Data processing Security Caching XML Web Services and Ajax is a good starting b
 

Getting Started with Oracle and ODP.NET

ODP NET Developer’ s Guide by Jagadish Chatarji Pulakhandam Sunitha Paruchuri A practical guide for developers working with the Oracle Data Provider for NET and the Oracle Developer Tools for Visual Studio 2005 Application development with ODP NET Dealing with XML DB using ODP NET Oracle
 

PHP Oracle Web Development Review

PHP Oracle Web Development Data processing Security Caching XML Web Services and Ajax The book is written by Yuli Vaseliev a well known author of different web development and programming books The author is also an expert in open source technologies and SOA Service Oriented Architecture But besides
 

Step by Step Oracle PL-SQL Tutorial

This introductory tutorial to PL SQL will help you to understand the basic concepts of PL SQL Please review the following tutorials and practice the sample SQL Statements on your local Oracle Database Please note that you must learn these basic things before we actually start getting in to Advanced
 

Working with XML in Oracle

Working with XML in Oracle Introduction to XML Extensive markup language is the language which presents data in a human readable form of text The data can be anything from a purchase order or a stock quote or weather radar or a flight schedule it can be represented using XML XML is very similar to H
 

What is Oracle Net Service

Oracle Net Services provides enterprise-wide connectivity solutions in distributed, heterogeneous computing environments. Oracle Net Services eases the complexities of network configuration and management, maximizes performance, and improves network diagnostic capabilities. Oracle Net, a component
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape