How can we update procedure in Database Directly

Hi Experts
how can we create a stored procedure in a database directly. for example I made a crystal report with a demo databse, then I want to run that report on production database. for that I have to create stored procedure manually. I want that When I run the report It automatically create stored procedure . or other simple way to create stored procedure
Regards
Gorge
Edited by: Gorge Ance on May 13, 2009 8:09 AM

Hi
If your field match what you have in demo and production ,all you need to do is run that stored procedure pointing to correct database .So you probable have to change alter to create .
When you go to sql server , you have a choice to run a query of stored procedure  against the particular dtabase while you use query analyser .
In crystal report , you have to manually change the datasource and update store procedure.
Your report will now point to production database and point to correct stored procedure .
Hope this helps
Bishal

Similar Messages

  • How can I update the QuickLook database?

    About 10 days ago my dock in Leopard crashed and I could not find it without restarting. Now I see in the console at startup:
    Dock[150] [QL ERROR] Generator database update takes too long... we will use what we currently have
    Since I have updated the Info.plist on my .tex files to conform to public.plain-text I would like quicklook to take note of it, but nothing I do will force it to take effect. On the command line qlmanage -r shows "resetting all generators" but qlmanage -m ends with the statement "generators change detected: NO". Any help would be greatly appreciated. Thanks

    This is by no means a complete answer. I still get the error messages in the console. However, I now have a partial answer to my question. After I log in, I run Cocktail 4.0.1 for Leopard, Select System then Databases. Then Rebuild Launch Services database with Restore default file associations enabled. About three quarters of the way through executing /System/Library/ScriptingAdditions/StandardAdditions.osax/Contents/MacOS/uid the .tex files lose the icon when selected, show the label "TEX" and can now be viewed with a touch of the space bar. What a pleasure. To the poster who recommends staying with Tiger, I say I never want to give up the pleasure of having Quick Look a spacebar away for all my files.
    Unfortunately, when I logout, restart or shutdown, once again, none of the org.tug.tex files are registered as public.plain-text and only the icon appears. To regain Quick Look capability I have to Rebuild Launch Services database. It only takes a few minutes, but I would like to automate the process somehow at login, but I have no idea how to do this. I will probably stay logged in for long periods of time, hoping that an update in the future will resolve this.

  • How can i update the REMARK field in ADRT database table

    Hi all,
    How can i update the REMARK field in ADRT database table
    By using Function modules or BAPI’s
    Please reply me fast

    Hi,
    you can try this code:
        SELECT SINGLE * FROM KNA1 WHERE KUNNR = wa_kunnr.
        IF sy-subrc = 0.
          CLEAR adrct.
          SELECT SINGLE * FROM adrct WHERE addrnumber = kna1-adrnr.
          IF sy-subrc = 0.
            adrct-remark = wa_remark.
            MODIFY adrct.
          ENDIF.
        ENDIF
    best regards,
    Thangesh

  • How can i update data in JTable at run time ?

    i am trying to build a client/server architecture for conducting quizzes & online tests.. My client will return a object to the server after the test is over, which contains details about the participant, his score and other details. i am putting the incoming object to an Vector. I'll create a new thread each time for the incoming connection and insert the object to the Vector.. Now, please tell me tat, how can i update my table automatically at run time so tat, my table is updated whenever a new object is entered into vector..
    here is my code for the table..
    public class MyTableModel extends AbstractTableModel {
        String columNames[] = { "ID", "NAME", "COLLEGE", "SCORE", "CELL" };
        /** Creates a new instance of MyTableModel */
        public MyTableModel() {
            Main.List = new Vector();
            SetDefaultData();
        public int getRowCount() {
            return Main.List == null ? 0 : Main.List.size();
        public int getColumnCount() {
            return columNames.length;
        public String getColumnName(int column) {
            return columNames[column];
        public boolean isCellEditable(int row,int col) {
            return false;
        public Object getValueAt(int rowindex, int columnindex) {
            if(rowindex < 0 || rowindex >= getRowCount())
                return "";
            Student row = (Student)Main.List.elementAt(rowindex);
            switch (columnindex)
                case 0 : return row.id;
                case 1 : return row.name;
                case 2 : return row.college;
                case 3 : return row.score;
                case 4 : return row.cell;
            return "";
        public String getTitle() {
            return "Student Table";
        private void SetDefaultData() {
            Main.List.removeAllElements();
            Main.List.addElement(new Student("CS041","Keerthivasan M","MNM",95,"9884326321"));
            Main.List.addElement(new Student("CS012","Arun M","MNM",90,"9884825780"));
            Main.List.addElement(new Student("CS019","Balaji S","MNM",79,"9841742068"));
            Main.List.addElement(new Student("CS005","Anand R","MNM",89,"9884130727"));
            Main.List.addElement(new Student("CS045","Manish J","MNM",55,"9841624625"));
            Main.List.addElement(new Student("CS013","Mangal S","MNM",5,"9841961742"));
    }

    In the future Swing related questions should be posted in the Swing forum.
    how can i update my table automatically at run time so tat, my table is
    updated whenever a new object is entered into vector..You don't update the Vector directly. You should be creating a method in your TableModel, called "addRow(...)". This method will do two things:
    a) add the Student object to the Vector
    b) invoke the fireTableRowsInserted(..) method of AbstractTableModel. This will cause the table to be repainted.

  • How to extract data from oracle database directly in to bi7.0 (net weaver)

    how to extract data from oracle database directly in to bi7.0 (net weaver)? is it something do with EDI? can anybody explain me in detail?
    Thanks
    York

    You can use UDConnect to get from Oracle database in to BW
    <b>Data Transfer with UD Connect -</b>
    http://help.sap.com/saphelp_nw04/helpdata/en/78/ef1441a509064abee6ffd6f38278fd/content.htm
    <b>Prerequisites</b>
    You have installed the SAP WAS J2EE Engine with BI Java components.  You can find more information on this in the SAP BW installation guide on the SAP Service Marketplace at service.sap.com/instguides.
    Hope it Helps
    Chetan
    @CP..

  • I can load cs5 in my new PC with windows 8.1, but it will not update.  how can I update?

    I can load cs5 in my new PC with windows 8.1, but it will not update.  how can I update?

    You can direct download and install the updates here: Adobe - Photoshop : For Windows
    The updater for CS5 is well...outdated.
    Gene

  • I need to update to 6.0 but it doesn't work--I've tried several times and it never gets past the stage of "connecting to update server"--so how can I update without uninstalling first and losing all my bookmarks and passwords?

    I have a MacBook Pro with Lion. Every few days Firefox will tell me, "you really need to update to 6.0," and I say, "yes please!" but then it says "connecting to update server" for ages and ages and nothing ever happens. I wouldn't mind uninstalling the old one and downloading a new one, except that I have lots of bookmarks and passwords saved, and I don't want to lose them all. So what's going on, how can I update?

    Thanks, but, using the "free" version of Reader, there is no opportunity to open nor import the xml data - the menu options do not exist - there is no import listed.
    If we try to open the xml file directly, then we get an error - something to the effect of "unsupported file type, or the file is corrupted".
    I just noticed in my Pro version that there is the command File ->Form Data ->Import Data to Form... command. Is this what you are referring to?
    What do you recommend? Perhaps the easiest thing to do would be to purchase a few copies of Acrobat Pro for the reservations people to use? I was hoping that the free version of reader would do it, but perhaps not?
    Thanks again,
    Rob

  • I have a iMac Mid 2011 Mac OSX Lion 10.7.5 How can I update it to 10.8.4?  (I purchased 10.8.4 already on the app store)

    Hello, I Have a iMac 21.5 inch Mid 2011 running latest version it can (10.7.5) I have purchased 10.8.4 directly from the app store. How can I update the computer to it? Do I simply just double click on on it?
    Thanks!

    If the installer's on your computer, double-click it and follow the onscreen directions. If not, log into the Mac App Store with the Apple ID used to buy it, click on the Purchases tab, and download it.
    (88469)

  • How can i update my xperia ray into ICS?

    i have tried the update with pc companion but it is showing an error "Unable to install or start phone software update components". I have also downloaded the SUS software but it is not working in my windows 8 machine. Is there any way to upgrade the OS directly from mobile? Or how can i update it in any other way?
    Solved!
    Go to Solution.

    We don't have a PC companion version tested for Windows 8. (Microsoft® Windows XP™ SP2 (32 bit), Vista (32/64 bit) or Windows 7 (32/64 bit) Only) That's the issue in your case.
    But try this:
    If you are getting the error "unable to install update components"
    1. Close Pc companion
    2. Install Java from: http://www.java.com
    3. start Pc companion again and try to do the software unlock process once more.
    Then:
    Run the Pc companion Software
    Turn the phone off and disconnect it from the computer
    1. No matter what the program says do not connect the phone until you complete step 9
    2. In the welcome screen if asked click on start, Next you will be shown what media go offers, click on "next" then you will see a presentation on what support zone offers, click on "Finish"
    3. In the next section from "support zone" and "media go" new select "support zone"  and click on start.
    4. On the next page select "Software update" and click on "start"
    5. The program will say that there is no phone connected and will ask you to connect but disregard that and instead choose the option to "repair Phone".(the program will issue you a warning on the content that you will lose during the update)
    6. Choose the option to continue.
    7. After that, the program will download the necessary information (5 to 6 minutes) and it will present you with a list of phones.
    8. Choose the Phone from the list (close to the bottom of the list)  click on the icon for the phone and then click on "next"
    then you will see a new section telling you how to connect the phone. (don't connect it yet)
    At this point the phone must be off and disconnected from the PC.
    9. Connect the cable to the PC not to the phone, then follow the instructions on screen to connect the phone, if done correctly the program will say "the update of your phone has started..." (in some cases a message of  "Installing drivers" will appear before the message of "the update of your phone has started..."  is shown.)
    10. If you failed to follow the steps correctly the phone will turn on and it will request that you "Proceed with the following steps, slide down the notification bar", If this happens disconnect the phone from the cable, turn it off and repeat from step 9).
    11. If the PC Companion proceeds correctly wait for the update to finish and follow instructions on screen.
    Hope this helps.
    Francis

  • HT201263 I have version 4.3.3(8j2)how can i update my iPhone , there is no update in the "setting"

    how can i update my iphone ?there is no place to update

    Follow the directions here:
    http://support.apple.com/kb/HT4972
    iOS 6.0.1 will be installed on your phone.

  • How can I compact a MSAccess database with java?

    Hi.
    I have a question (Please Help!!!):
    How can I compact a MSAccess database with java-jdbc? Is it posible?
    Thanks

    MS Access database has a max length limitation of 2.14GB for Access 2000( 1.07G for Access 97), and won't recycle basically space for update/delete sql so tha it's a good idea to use MS Access database for program, which need update/delete frequent ly data. The programmers of HXTT Access(www.hxtt.net) are writing code for CREATE TABLE/DATABASE sql now. If you need a pure Java solution for PACK TABLE/DATABSE urgently in your project, you should send such a requirement to the Support page of www.hxtt.net so that they can schedule complementing such a fucntion. Otherwise, you should pack your databae manually or visit C++ code for Compact an Access Database Programmatically at
    http://www.codeguru.com/Cpp/data/mfc_database/microsoftaccess/article.php/c4327/ , or use Easy Microsoft Access MDB MDE Compactor at http://www.easyhr.com.au/software/easy_mdb_mde_compactor.htm.

  • How can I update the project varibles  in OBPM 10.3

    Hi All,
    OBPM version : 10.3.2 (weblogic Enterprise version)
    How can I update the project variables from the External process?
    I per my knowledge we use termination wait activity and notify the same from the external process. I am successfully do this but I am facing the performance issue with this and sometimes even data sources pool is getting exhausted.
    Could you please tell me is there any other way to update the project variables?
    Thanks in advance.
    Narasimha
    Edited by: Narasimha on Mar 2, 2011 4:19 AM

    I do not disagree with Mark about using Message Waits to update project variables. I'm right in the middle of logic right now that is doing just that.
    If you have thousands (or in your case millions) of instances to update all at once, you might want to also want to consider another approach. I obviously do not know your process and sure you've thought of this, but you could use a database to store this same information that you are currently using project variables for. You'd need a table that has the instance's unique id (e.g. case id, loan number, claim number) as the primary key and then have columns to store the information you are currently storing in project variables.
    Taking this approach, you'd be updating the milliions of rows in the database very quickly. You could still have project variables in your process, but they would be set at the beginning of a Screenflow or in an Automatic activity using a SELECT statement against the database table using the unique id of the instance as the key.
    Dan

  • HT201210 I cant update 5.0.1 to 6.0.1 in my iphone so anyone tell me how can i update?

    hey there
    I cant update 5.0.1 to 6.0.1 in my iphone so anyone tell me how can i update?

    Why would you remove the SIM?
    The SIM is required for activation.
    How are you attempting to update?  Via iTunes or directly on the device?

  • HT201269 how can I update my iPhone4 to get iOS4.3.

    how can I update iOS4.3. on my iPhone4?

    If you update, iOS 6.1 will be installed on your phone. Follow the directions here:
    http://support.apple.com/kb/HT4972

  • HT1338 hi i need the Mac OS X version 10.7.4 or later. How can i update it and does it cost money to do so?

    hi i need the Mac OS X version 10.7.4 or later. How can i update it and does it cost money to do so?

    Upgrading to Snow Leopard, Lion, and Mountain Lion
    You can upgrade to Mountain Lion from Lion or directly from Snow Leopard. Mountain Lion can be downloaded from the Mac App Store for $19.99. To access the App Store you must have Snow Leopard 10.6.6 or later installed.
    You can purchase Snow Leopard contact Customer Service: Contacting Apple for support and service. The price is $19.99 plus tax. You will receive physical media - DVD - by mail.
    Third-party sources for Snow Leopard are:
    Snow Leopard from Amazon.com
    Snow Leopard from eBay
    After you install Snow Leopard you will have to download and install the Mac OS X 10.6.8 Update Combo v1.1 to update Snow Leopard to 10.6.8 and give you access to the App Store.
    You can purchase Lion contact Customer Service: Contacting Apple for support and service. The cost is $19.99 (as it was before) plus tax.  It's a download.
    Be sure your computer meets the minimum requirements:
    Apple - OS X Mountain Lion - Read the technical specifications.
    Macs that can be upgraded to OS X Mountain Lion
      1. iMac (Mid 2007 or newer)
      2. MacBook (Late 2008 Aluminum, or Early 2009 or newer)
      3. MacBook Pro (Mid/Late 2007 or newer)
      4. MacBook Air (Late 2008 or newer)
      5. Mac mini (Early 2009 or newer)
      6. Mac Pro (Early 2008 or newer)
      7. Xserve (Early 2009)
    Are my applications compatible?
    See App Compatibility Table - RoaringApps - App compatibility and feature support for OS X & iOS.
    Am I eligible for the free upgrade?
    See Apple - Free OS X Mountain Lion upgrade Program.
    For a complete How-To introduction from Apple see Apple - Upgrade your Mac to OS X Mountain Lion.
    Model Eligibility for Snow Leopard and Lion.
    Snow Leopard General requirements
      1. Mac computer with an Intel processor
      2. 1GB of memory
      3. 5GB of available disk space
      4. DVD drive for installation
      5. Some features require a compatible Internet service provider; fees may apply.
      6. Some features require Apple’s MobileMe service; fees and terms apply.
    Lion System Requirements
      1. Mac computer with an Intel Core 2 Duo, Core i3, Core i5, Core i7, or Xeon processor
      2. 2GB of memory
      3. OS X v10.6.6 or later (v10.6.8 recommended)
      4. 7GB of available space
      5. Some features require an Apple ID; terms apply.

Maybe you are looking for

  • Virus macbook air pop ups

    Hi, Please can someone help me. I have pops ups coming up every single time I open a new page on my mac air. EVERY TIME. A FEW TIMES. Purifier, casino, macbook keeper. I have disabled pop ups in preferences on safari, but it doesn't help. could it be

  • Error occured in OIM client running

    Hai all, Am new to OIM . I completed basic installation java,jboss, oracle database, OIM server and OIM client . All the thing are running sucessfully except OIM client. It is also installed sucessfully but after entering the user name and password i

  • Some doubt regarding oracle 9i lite

    Hai, I am doing R @ D on 9i lite. My scenario is as follows, 1. first i installed oracle 8i 8.1.7 database. 2. using oracle 9i lite 5.0.2 setup, In another machine instllaing mobile server and mobile development kit. 3. how to synchronize the 9i lite

  • Creating a Full-Path Hyperlink in Adobe 9

    I need to create hyperlinks to files stored on our network. Our network automatically maps this location to a mapped drive on my computer, but maps other locations to the same mapped drives on other people's computers (I have to put it in this folder

  • Packaging Indesign Files - Network to Desktop to Network

    Hi - I wanted to hear from people who work with InDesign files on a regular basis. I am not a guru with InDesign - so any advice/comments would be appreciated. Our end-users currently work with InDesign CS5 and CS6. Windows 7 Enterprise x64. I unders