PL/SQL as front end.....

hi....
Where we use PL/SQL as front end and How to use...? What package used to create the front end..... Give me a sample example... or Give me site link to know more about this.....
Thanks
S.Ashokkumar.

> I think that is not entirely true. You can use Developer 9i where you can use
the Pl/SQL code to construct a full capability of a web page using this
PSP? PL/SQL Server Pages?
PL/SQL (as used in PSP and APEX) is a server-side language. It has not User Interface abilities.
This means that it
- cannot display a form on the screen as it is not attached to a monitor/display
- cannot read user keyboard input
- cannot read user mouse input
PL/SQL cannot "talk" to the end-user as it lacks the UI (User Interface) component.
The only way for it to "talk" to an end-user is to communicate with the actual UI application of the user - and then that UI app can interact with the user, interface with the monitor, keyboard and mouse.
So how does PL/SQL communicate with the UI? Two basic methods.
Traditional client-server. The UI is a Delphi/Powerbuilder/VB application. It uses an Oracle Client Driver. It connects to Oracle, executes the PL/SQL code and that code returns data to the UI. The UI renders that data.
The UI in traditional client-server is a tty (typewriter) device - meaning that each and every key or mouse input can be immediately send (if needed) to the server. E.g. typing text into a combo box can result in a SQL query per keystroke to list the matching values in the database for that filter.
The UI in traditional client-server also has state. It opens a connection to Oracle. It uses and re-uses that connection. It can lock rows. It can run DML on those rows. It can commit and rollback those locks.
Thin client-server. The UI is a browser. It has not Oracle Client Driver (or need any other Oracle client software). The UI makes a HTTP (or HTTPS) call to a web server that runs an "Oracle Interface Module". Via this module, a PL/SQL call is made. PL/SQL code writes to a buffer area. The code terminates. This buffer is streamed via the web server to the client UI. The web browser receives this HTTP stream and process it. It renders a web page, graphics, etc.
The "Oracle Interface Module" is either:
- a module called MOD_PLSQL used in Apache Web Server
- a web servlet defined in the EPG web server in Oracle's XML DB
The UI client is a block device. The user has to enter all the data on the UI. And then submit it. The UI gets a complete screen to render when it receives the data from PL/SQL via the web server.
The UI client is stateless. It uses a new or different Oracle session each time it talks to the database. It cannot lock rows like in the traditional client-server. It needs to use optimistic locking. PL/SQL code needs to be written to manage the state data for the client. Etc.
PL/SQL Server Pages are executed via a web server module - the PL/SQL code resides inside HTML pages. This code creates a dynamic HTML pages. This page is send to the web browser.
Thus, PL/SQL cannot interact with the user. It has to interact with the UI. You cannot use PL/SQL itself as the front-end as it does not run on the client. The front-end has to be an application or browser. PL/SQL needs to send data to that. That UI renders that data and interact with the client. Not PL/SQL.

Similar Messages

  • How front end query invoke error message at backend

    Dear all,
    Please help me this out! I'm working on servlets(using Apache server). I'm sending sql statement to (dbaccess) database. If I do a sql statement directly at backend, the db will generate an error message. Now I'm sending the query at front end. When error occurs, the backend doesn't show the error message. I have no idea how to 1) generate the error messages at backend when a sql from front end is executed. 2) And then how the backend send the error message to the frontend.
    If you have any idea, please help me. I greatly appreciate that!
    Regards,
    Grace

    Thanks. Backend means database. But I just wonder why this exception not shown on my webpage. I made it to print out in html file.
    And are you sure that the exception front end caught is the same error message that I get if I run the sql statement at backend directly? Because I'm thinking of ways to make the error message both detail and user friendly to understand.
    What would you think?
    Thanks again!
    Grace

  • Regarding connection between front end HTML and back end SQL 7.0

    Hi!!
    I am working on the project 'ERM'. I have designed 12 forms using HTML. Can u please give me brief idea how to establish the connection between a back end and front end i.e. between HTML and SQL 7.0. If possible can u provide me the source code for the same.
    I will be very thankful to you.
    Thanks,
    Jigar.

    Read up about multi-tier applications.
    You need servlet and JSPs for the server-side presentation layer, some classes for the business logic, and some mor for the persistence layer either using JDBC or some framework like Hibernate.

  • SQL Server 2005 replaced with SQL Server 2014 trying to connect front end Access as guest (read only ODBC)

    We have replaced a SQL Server 2005 with a SQL Server 2014 (new physical server.)  Have the new server set up to use SQL Server login OR Windows user login. Had old server connecting (for a particular DB) to front end Access (2010 or 2013) as guest for
    anyone logged into the Windows NT Network with a read only ODBC connection. Have the DB in the new server set to include guest as db_datareader (with only SELECT permission for the securables of each table and view being linked) but when any Windows user not
    specifically listed as a SQL DB user tries to use the front end they get an error of:
    Microsoft SQL Server Login
    Connection failed:
    SQL State: '28000'
    SQL Server Error: 18456
    [Microsoft][OCBC SQL Server Driver][SQL Server] Login failed for user {domain\user}.
    After closing that pop-up window a server login window appears. Of course, since the guest user is not specifically listed as a user in the DB that fails also. It seems like there should be a very simple solution to this, but I can't seem to find it. I want
    to allow anyone logged in on the Windows system (locally) to be able to open the MS Access file (on their work station machine) and run their own (read only; select) queries on the SQL Server database. Any suggestions?
    Thanks a billion in advance ----

    Thanks for the response Olaf. I have now spent weeks researching this. I realize that using the guest account in most situations is not advised. As mentioned, I have restricted the guest account to allow the db_datareader role only, and have explicitly denied
    all other roles, as well as allowing select only, and still have no access for the guest account.
    The suggested fix in the second link you provided, of using Windows groups is not plausible for my situation either. We are a scientific field research institution, with a few long term users and lots of users that may have Windows accounts for a few months,
    and then they are gone. It would be a nightmare for the network tech to try to keep a group account up to date, and we need to give access (read only, of course) to anyone logged into the system. Realize that the ONLY access of any kind to this database is
    thru MS Access ACCDB, using a (by default) read only OCDB connection.
    This type of access is used particularly because researchers need to be able to set up their own queries, and the MS Access query interface is particularly convenient for people who are not themselves SQL experts, yet are trying to get some very advanced
    levels of output. Putting the database online is not practical because then we are back to the need for a comprehensive query interface, and just picking up general subsets of the data online (from a basic web page search feature) would be out of the question,
    since the result set would involve hundreds of thousands if not millions of records.
    So - that said - what exactly would you suggest, assuming we don't have the funds to buy a whole new system, and have spent plenty of money with Microsoft's Enterprise level MS Office so that all work stations have MS Access, and Microsoft's SQL Server,
    as well as running our network on Microsoft's network software.

  • Front end of PL/SQL for Sun solaris

    Hi,
    What are the popular front ends and also Which is best front end of PL/SQL under
    UNIX (Sun Solaris) platform.

    You can use Sql Navigator from Qwest Software
    which can run on Win95/NT/2000. You can use SQL*NET to connect to your Sun Solaris or any other Oracle instance running on UNIX platform.
    Jack
    null

  • Writing SQL at backend Vs writing in middle/front end layer

    Dear all,
    Are their any performance differences if we write the simple sql queries at backend Vs front end/middf for populating the list boxes? e.g. select department code, department name from department
    Regards,
    Vinay

    All things being equal (i.e. the same query etc), then the query that runs "inside" the database should be a "bit" faster (obviously the definition of "bit" will vary depending on what the query actually does).
    I'd also say that keeping code like that inside the database means that it's more maintainable and could well perform a lot better due to making better use of bind variables (i.e. one central place for that query versus X different app servers calling the query in different ways).
    It also means that if you decide to move from using product X to product Y to rewrite your front end/middle tier then you don't have to rewrite all of the SQL again (since it's inside the database, where it should be).
    Hope this helps.

  • Connecting to SQl server ( MS acess front end) and pull the data into BI

    Dear all,
    i need to extract the data from SQl server ( MS acess front end) and pull the data into BI .
    i need to know what are the steps need to follow on this..
    can any one help me on this...!
    Thanks,
    Siva

    Hi,
    1. login to sql server u2013 with ur server credentials  and connect.
    2. select ur sql for ex: sap bw
    3. Right click u2013 sapbw - task - export data  From sql to excel I m exporting So give sql details 
    4. Destination u2013 select excel.. and browse where u want to save the fileu2026
    5. give next
    6. select from which table u want to export
    7. click on  next
    8. click on finish
    9. close
    10. go to desktop and open the xyz.xls file
    11. not make it as csv file and load the data to BI as a flat file
    Hope it will help you.
    Regards,

  • Named Pipes provider, error:40 could not open a connection to sql server. Only happens on one of the front end SRS servers

    when testing a datasource connection I get the following error.
    Named Pipes provider, error:40 could not open a connection to sql server.
    I've read all the posts on this and nothing works.  This is a scale out deployment and the connection
    works from the other server I have setup with SRS that is connected to the same backend SRS databases.  It just doesn't work from one of the SRS front ends.  I'm at a loss..  please help

    Enable both named pipe and TCP communications.
    Make sure client is using the same (named) pipe name as server for connection.
    Kalman Toth Database & OLAP Architect
    Free T-SQL Scripts
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • How to install SQL Mgmt Studio on the front end

    SQL 2008 R2
    I need to install SSMS on the front end server. 
    On the SQL Windows Server 2008 R2, When I click on START -->ALL PROGRAMS-->MICROSOFT SQL SERVER 2008 R2
    I see the following:
       SQL Server Management Studio
       Analysis Services
       Configuration Tools
       Integration Services
       Performance Tools
      Looking at the above list, I think SSMS has already been installed?  What is a front end server?
      Thanks for your help.

      What is a front end server?
      Thanks for your help.
    That's not a good question I guess you were asking about whether SSMS is present or not you already got the answer. Front end is there any server can be front end server its name used for terminal server where user generally perform some action.
    Front end is term used when dealing with 3 or N tier architecture which is beyond scope of this forum
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Wiki Article
    MVP

  • How to let sql server 2008 know the table created at front end in c#

    How to let sql server 2008 know the table created at front end in c#

    The best solution is to create table type and pass the DataTable as table-valued parameter. I have an article on my web site about this:
    http://www.sommarskog.se/arrays-in-sql-2008.html
    The full article is a bit of overkill for what you are doing right now, but just the few first pages should get you going.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Could you tell me if it would be supported to pair a two node enterprise edition front end pool inc mirror sql with a one node enterprise edition front end pool inc single sql?

    Hi all,
    Could anyone tell me if it would be supported to pair a two node enterprise edition front end pool inc mirror sql with a one node enterprise edition front end pool inc single sql?
    MUCH THANKS.

    The answer from TechNet found at http://technet.microsoft.com/en-us/library/jj204697.aspx Is, and I quote:-
    Enterprise Edition pools can be paired only with other Enterprise Edition pools. Similarly, Standard Edition pools can be paired only with other Standard Edition pools.
    Also, "Neither Topology Builder nor topology validation will prohibit pairing two pools in a way that does not follow
    these recommendations. For example, Topology Builder allows you to pair an Enterprise Edition pool with a Standard Edition pool.
    However, these types of pairings are not supported."
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"

  • How to implement Oracle user/role security with Access front end?

    Hi,
    We have successfully migrated our Access database tables to Oracle 10g using SQL developer. We've recreated all the users and roles(i.e., access groups) in Oracle and granted rights to tables.
    In the Access front end database, in the Database window we have saved linked Oracle tables which replaced the Access tables. The forms, reports, queries run fine with the linked Oracle tables. All the linked table use one ODBC DSN to the Oracle database with the same Oracle user id.
    We need to be able to authenticate users into the Oracle database and RE-link the tables based on their own unique user id. By during so we can allow users to use the Oracle standard user id/role and system privileges to control select, update, ect. rights to the database.
    I've been able to use the VB code within Access to logon into the database with a unique id, but I have not been able to find out how to RE-link the tables to the unique user id using VB. There should be some way to relink tables dynamically, based on users login into the Access front end.
    I don't know a great deal about Access projects, but I do know with SQL server allows login into your Access project and link tables dynamically.
    Can someone give me some assistance or point me in the right direction?
    Thanks in advance,
    Larry

    We had one of our programmers here come up with a VB code solution for re-linking table within Access. However the relinking takes 3-4 minutes for 100+ tables.
    In an effort to help you understand the situation better, I will attempt to elaborate on the problem:
    We have an Access 2003 application which currently has a front end using Access(forms, reports, queries, & VB code) and a MS Access 2003 backend.
    We have migrated the backend tables to Oracle. However, we still have a need to maintain the front end in Access, since we have over 60 forms, 40 reports, 200+ queries in Access. Its easy to understand, we have a significant investment in the front end(Obviously, the plan is to migrate the front end also at some future date).
    In order to utilized the existing front end, we have to validate and modify the current front end connections to the new Oracle backend. One of the features of Access is that you can "link" tables and save the link for runtime. Each Access table can have its own link which is a separate ODBC/JET connection. As such, each separate link has its own userid/database information.
    The other issue with using the Access front-end is that Access utilizes a workgroup file to implement user and group security. The workgroup file contains all the users and which groups the users belong to in Access. Then within Access, you allow users access to object(tables, queries, ect) by their userid and or group. When users open an Access database with Access security enabled, they are required to log into Access. The login is authenticated by the workgroup file. Once, logged into Access, users have rights to Access objects based on their rights granted to their userid and groups they belong. The problem here is that when you remove the linked Access tables and replace them with linked Oracle tables, Access has knowledge about Oracle table rights granted to users; nor would you expect it to.
    The dilema is the disconnect between Access and the fact Oracle utilizes a similar but much more sophisticated security model. It creates users and roles(which are similar to Access groups), and again this is independent of Access security.
    Our solution was to still use the Access workgroup file security along with the Oracle security model. By using the Access userid and then creating a similar Oracle userid with similar table rights granted in Access, you could apply security within Access and also with the Oracle database.
    For example, a user BOB logs into Access via the workgroup file, using VB code, Access then establishes a Oracle connection logining into Oracle using the same unique userid BOB into Oracle.
    After connecting and validating user BOB into Oracle, then the Access tables are relinked to Oracle using the user BOB userid and table rights.
    This Oracle userid has been granted table rights specific for this userid.This allows the user BOB to use the Access application and still be authenticated into the Oracle database.
    The problem with this solution is that the relinking of the saved Access tables takes 3-7 minutes for about 100+ tables. This is not acceptable for users each time they log into the application.
    Our current alternative is to use one Oracle userid to login each user, and use Access form restrictions/security to allow/prevent users from updating/viewing data. Obviously, this is not the optimal solution in respect to security, but it at least allows us to control access to the data(via the forms) by using one logon required for each user, and quick startup time for the application.
    I understand SQL server does a better job in integration, but we use Oracle which is what I am trying to work with.
    Larry

  • How can i configure Distributed cache servers and front-end servers for Streamlined topology in share point 2013??

    my question is regarding SharePoint 2013 Farm topology. if i want go with Streamlined topology and having (2 distribute cache and Rm servers+ 2 front-end servers+ 2 batch-processing servers+ cluster sql server) then how distributed servers will
    be connecting to front end servers? Can i use windows 2012 NLB feature? if i use NLB and then do i need to install NLB to all distributed servers and front-end servers and split-out services? What will be the configuration regarding my scenario.
    Thanks in Advanced!

    For the Distributed Cache servers, you simply make them farm members (like any other SharePoint servers) and turn on the Distributed Cache service (while making sure it is disabled on all other farm members). Then, validate no other services (except for
    the Foundation Web service due to ease of solution management) is enabled on the DC servers and no end user requests or crawl requests are being routed to the DC servers. You do not need/use NLB for DC.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Lync 2013 updating databases after updating Front End servers

    We have a front-end server pool consisting of 3 Lync 2013 servers and a back end of 2 SQL servers using SQL mirroring.  All servers are Windows 2008 R2.
    Following the instructions in
    http://support2.microsoft.com/kb/2809243 , I verified that the servers were all ready for updates, then I ran the
    Stop-CsWindowsService -Graceful cmdlet to stop the Lync services on the first FE server, then I ran LyncServerUpdateInstaller.exe to install the updates.  After the updates were installed, I restarted the server, waited for Lync services
    to all start, then repeated the process on the next 2 servers in turn.  This was all successful.
    I am now looking at step 2 in this document, applying the back-end database updates, and I have a problem and some questions.  The problem is that all the databases had the principal copy on the mirrored SQL server.  I ran the recommended Invoke-CsDatabaseFailover
    -NewPrincipal Primary cmdlet repeatedly, using all the database types I could find, but I still have two databases (database names
    xds and lis) on the mirrored server.  Since the cmdlet requires a database type, what type of databases are the xds and the lis databases?
    Once I get that done, I an still unsure of exactly what to run to update the databases.  The KB article states to run Install-CsDatabase -ConfiguredDatabases -SqlServerFqdn FEBE.FQDN -Verbose .  Do I type this in exactly
    as stated, or is FEBE.FQDN a variable for our SQL server or some other entity in our environment?  If I do use the actual SQL Server name in that, do I run it twice, using the name of the mirrored SQL server the second time?  
    Thank you very much for your help.

    Hi Logan Burt,
    Central Management store database files
    Data file or log purpose
                    Xds.ldf
    Transaction log file for the Central Management store
                    Xds.mdf
    Maintains the configuration of the current Lync Server 2013 topology, as defined and published by Topology Builder
                    Lis.mdf
    Location Information service data file
                    Lis.ldf
    Transaction log for the Location Information service data file
    And you could verify if Lync Server 2013 database updates have completed successfully.
    How to Verify if Lync Server 2013 Database Updates Completed Successfully
    http://blogs.technet.com/b/dodeitte/archive/2013/07/02/how-to-verify-if-lync-server-2013-database-updates-completed-successfully.aspx
    Best regards,
    Eric

  • Front-End Service Starup Error: Store procedure to GET progress vector failed.

    Hi,
    We have a two front end servers in our Lync deployment and I'm getting an interesting error message on one of the servers when the "Lync Server Front-End Service" is starting up. All the services on that server will eventually start but I'm pretty
    sure it's affecting users in some way.
    Here is the error message in the Event Viewer:
    Log Name:      Lync Server
    Source:        LS User Services
    Date:          2013-09-17 8:00:32 AM
    Event ID:      32194
    Task Category: (1006)
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      BGC-VAN-LYNC2.domain.ca
    Description:
    Store procedure to GET progress vector failed.
    Execution Error: 0x00000000(ERROR_SUCCESS).
    Native Error: 8144.
    Error Details: [# [Microsoft][SQL Server Native Client 11.0][SQL Server]Procedure or function SyncReplicationGetProgressVector has too many arguments specified. #].
    Cause: This may indicate a problem with connectivity to local database or some unknown product issue.
    Resolution:
    Ensure that connectivity to local database is proper. If the error persists, please contact product support with server traces.
    Event Xml:
    <Event xmlns=>
      <System>
        <Provider Name="LS User Services" />
        <EventID Qualifiers="50158">32194</EventID>
        <Level>2</Level>
        <Task>1006</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2013-09-17T15:00:32.000000000Z" />
        <EventRecordID>16971</EventRecordID>
        <Channel>Lync Server</Channel>
        <Computer>BGC-VAN-LYNC2.domain.ca</Computer>
        <Security />
      </System>
      <EventData>
        <Data>0x00000000(ERROR_SUCCESS)</Data>
        <Data>8144</Data>
        <Data>[# [Microsoft][SQL Server Native Client 11.0][SQL Server]Procedure or function SyncReplicationGetProgressVector has too many arguments specified. #]</Data>
      </EventData>
    </Event>
    The error happens 15 times every minute, following with this event:
    Name:      Lync Server
    Source:        LS User Services
    Date:          2013-09-17 8:23:46 AM
    Event ID:      32189
    Task Category: (1006)
    Level:         Information
    Keywords:      Classic
    User:          N/A
    Description:
    The following Fabric service for routing groups have been closed:
    {F515134C-71B7-52FD-B0C3-6A9DB39CF750}
    {8A5D6B36-2A01-53DB-BC4E-3286C05E0836}
    {B35AAFC9-F6BF-5FFE-8C31-4AA5C36B2065}
    {69223418-78DC-5066-81A8-78E05914EC7B}
    {80414C96-1137-5DDC-8387-C3EA7A54B078}
    {641E6ABD-B862-55A1-B1B1-C83BC92D2F85}
    {1EA68EA4-77F7-5CFC-B781-0093CBC18403}
    {2FDE333D-FF7F-5D6A-B85B-93ADC1EAC12A}
    {A43BBA3A-8963-51C4-BD7A-19E1EC3DDFDB}
    {D3F4532F-61C8-5072-9B3B-3E2CCF15442F}
    {4449243E-5E96-56AC-AB6B-C5E785543542}
    {58B30261-65B6-5F6A-BC50-60F85782D052}
    {DB4B76B0-2510-5BF8-A7B1-8B37BD3AA7B9}
    {917CC217-966B-56AC-A912-97BA64BA13EB}
    Anyone knows what this is about and how to resolve this?
    Thanks,
    VH.

    Hi,
    Please try to reset registrar state:
    http://tsoorad.blogspot.in/2013/04/lync-2013-ee-pool-wont-start.html
    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make
    sure that you completely understand the risk before retrieving any suggestions from the above link.
    Kent Huang
    TechNet Community Support

Maybe you are looking for

  • ABAP Program error in Process chain

    Hi I have abap process in the process chain which failed frequently with followin error messages Spool request (number 0000015904) created without immediate output                  SY           355          rocessing completed with errors. See spool

  • DB13 error: permission denied

    hi all, We want to take backup of our Production server through DB13. but when we start backup it generate error " 11/2/2010     1:15:13 PM     Job started 11/2/2010     1:15:13 PM     Step 001 started (program RSDBAJOB, variant &0000000000010, user

  • Iweb general error when uploading to mobile me or a folder

    Used to work just fine and now it will not upload at all. Any suggestions??? General error doesn't help me at all!

  • Read Information of Internal Order SRM5.0

    Hey all, i could use some help with the following problem. I have to read the Project Leader Information of an Internal Order in SRM 5.0 can anyone tell me if there is a spezial FB to do so? Thanks for all the help Tobias

  • Haziness & broken pixel in Z1

    http://www.sonymobile.com/global-en/products/phones/xperia-z1/features/#camera The pictures shown in this page are absolutely not from z1. It is impossible to take such pictures from z1 with so much clarity especially when sun is in the background.In