Can you tell me what is the error?

Hi all
I am new to dynamic sql
I am trying to execute below block
But i am getting below error
ERROR at line 8:
ORA-06550: line 8, column 19:
PLS-00306: wrong number or types of arguments in call to '||'
ORA-06550: line 8, column 1:
PL/SQL: Statement ignored
DECLARE
V_CURSOR VARCHAR2(4000);
v_value VARCHAR2(4000);
CURSOR GET_TABLE IS SELECT TABLE_NAME FROM user_tables;
BEGIN
FOR TAB IN GET_TABLE
LOOP
EXECUTE IMMEDIATE 'SELECT '||TAB.TABLE_NAME||' FROM '||TAB||' INTO '||v_value;
dbms_output.put_line (v_value);
END LOOP;
END;
can anybody please help me in this
Thanks in advance...

he says he's new to dynamic sql and wants to try it out...
perhaps something like this might help for him/her? ;)
BEGIN
FOR tab IN (SELECT tab.table_name FROM user_tables) LOOP
execute immediate 'truncate table '|| tab.table_name;
END LOOP;
END;
--evil smirk...                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • Can you tell me what is the function modue to get POPUP box

    Hi Folks,
    can you tell me what is the function module to get the POPUP box.
    Thanks in Advance,
    Lakshmi

    Hai use
    POPUP_TO_CONFIRM
    check the following Code
    CONCATENATE 'Send selected spools to the: '
                 altdest
                ' Printer.' INTO V_TXTQUES SEPARATED BY SPACE.
    CALL FUNCTION 'POPUP_TO_CONFIRM'
      EXPORTING
        TITLEBAR                    = C_TITLEBAR
      DIAGNOSE_OBJECT             = ' '
        TEXT_QUESTION               = V_TXTQUES
      TEXT_BUTTON_1               = 'Ja'(001)
      ICON_BUTTON_1               = ' '
      TEXT_BUTTON_2               = 'Nein'(002)
      ICON_BUTTON_2               = ' '
      DEFAULT_BUTTON              = '1'
       DISPLAY_CANCEL_BUTTON       = ' '
      USERDEFINED_F1_HELP         = ' '
       START_COLUMN                = 6
       START_ROW                   = 6
      POPUP_TYPE                  =
      IV_QUICKINFO_BUTTON_1       = ' '
      IV_QUICKINFO_BUTTON_2       = ' '
      IMPORTING
        ANSWER                      = D_ANSWER
    TABLES
      PARAMETER                   =
    EXCEPTIONS
       TEXT_NOT_FOUND              = 1
       OTHERS                      = 2.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    IF D_ANSWER = '1'.
    Thanks & regards
    Sreenivasulu P

  • I am an international student studying in Kettering University, US and i have an isic that is international student identity card. Can you tell me what is the procedure to claim for a discount by using my isic. Want to buy ipad air 2 for education.

    I am an international student studying in Kettering University, US and i have an isic that is international student identity card. Can you tell me what is the procedure to claim for a discount by using my isic. Want to buy ipad air 2 for education.

    Welcome to the US!  I think you can just take your ID card to the Apple store or shop online : http://store.apple.com/us/browse/campaigns/education_pricing
    the site has all the info for eligibility and available items for purchase -- I think you can type in your school to see if on list of approved schools. I think the ID checking is rather benign. discounts are modest from what I recall.

  • Can you tell me what a 13019 error is ?

    can someone please tell me what an error 13019 is? thanks

    Refurbished iPods, IMHO, are a good deal: I've bought several in the past, and they've been great. They're cosmetically "as new", and come with the full 1-year warranty, and are eligible for the AppleCare Protection Plan.
    Technically (legally), they're not "new", in the sense that they're returns that have been "gone over" to be "like new", hence the considerable discount in price.
    All in all, definitely something to consider!
    eMac   Mac OS X (10.4.7)  
    eMac   Mac OS X (10.4.7)  

  • Can you tell me what is the music app in the iPad TV advert love?

    hi,
    there is a music app in the TV advert love in the scene where there are musicians and an electric guitar connected to the iPad.
    the app seems to have something like a rack of music equipment in different colours. i am uncertain as to the name of the app.
    thank you

    i think i found the programme. it is "Stomp Box" by Limelight Software and currently featured in Band in your Hand
    in the iTunes App Store under "Guitar & Bass"
    thanks for those who tried to find the answer for me. i chanced on the app whilst searching iTunes for music apps.

  • Can anybody tell me what is the error in the code

    Hi ,
    I am trying to create a Queue below is code but I am getting following error
    ORA-06550: line 12, column 4:
    PLS-00306: wrong number or types of arguments in call to 'ENQUEUE'
    ORA-06550: line 12, column 4:
    PL/SQL: Statement ignored
    CREATE OR REPLACE TYPE emp_obj
    AS OBJECT (o_empno NUMBER (4),o_ename VARCHAR2 (10));
    create or replace type emp_tab as table of emp_obj
    --============================================================================
    BEGIN
    DBMS_AQADM.CREATE_QUEUE_TABLE (
    queue_table => 'demo_queue_emp_table',
    queue_payload_type => 'emp_obj'
    END;
    --===============================================================================
    BEGIN
    DBMS_AQADM.CREATE_QUEUE (
    queue_name => 'demo_queue_emp',
    queue_table => 'demo_queue_emp_table'
    DBMS_AQADM.START_QUEUE (
    queue_name => 'demo_queue_emp'
    END;
    --================================================================================
    DECLARE
    r_enqueue_options DBMS_AQ.ENQUEUE_OPTIONS_T;
    r_message_properties DBMS_AQ.MESSAGE_PROPERTIES_T;
    v_message_handle RAW(16);
    v_emp_tab emp_tab := emp_tab ();
    BEGIN
    SELECT emp_obj (empno, ename) BULK COLLECT INTO v_emp_tab FROM emp;
    DBMS_AQ.ENQUEUE(
    queue_name => 'demo_queue_emp',
    enqueue_options => r_enqueue_options,
    message_properties => r_message_properties,
    payload => v_emp_tab,
    msgid => v_message_handle
    COMMIT;
    END;
    =================================================================================
    SELECT * FROM aq$demo_queue_emp_table;

    It's perhaps to do with your payload?
    http://download.oracle.com/docs/cd/E11882_01/appdev.112/e16760/d_aq.htm#i996875

  • I keep getting this error in Dreamweaver when I am trying to upload my website?  Can you tell me what I am doing wrong?  here is the error message: /html - error occurred - Unable to create remote folder /html.  Access denied.  The file may not exist, or

    I keep getting this error in Dreamweaver when I am trying to upload my website?  Can you tell me what I am doing wrong?  here is the error message: /html - error occurred - Unable to create remote folder /html.  Access denied.  The file may not exist, or there could be a permission problem.   Make sure you have proper authorization on the server and the server is properly configured.  File activity incomplete. 1 file(s) or folder(s) were not completed.  Files with errors: 1 /html

    Nobody can tell you anything without knowing exact site and server specs, but I would suspect that naming the folder "html" wasn't the brightest of ideas, since that's usually a default (invisible) folder name existing somewhere on the server and the user not having privileges to overwrite it.
    Mylenium

  • Everytime i try to download illustrator an error occurs U44M1I210. Can you tell me what this is? I even tried uninstalling an downloading the cloud again, but the same error occurs.

    Everytime i try to download illustrator an error occurs U44M1I210. Can you tell me what this is? I even tried uninstalling an downloading the cloud again, but the same error occurs.Everytime i try to download illustrator an error occurs U44M1I210. Can you tell me what this is? I even tried uninstalling an downloading the cloud again, but the same error occurs.

    U44M1I210 - Creative Cloud Help / Error U44M1I210 | Install updates :
    http://helpx.adobe.com/creative-suite/kb/error-u44m1i210-installing-updates-ccm.html

  • "CAHeadless error Sequence.cpp-2233" after computer starts up.  Can you tell me what this is or how to fix it?  Thanks!

    Since installing Adobe Premier Elemnts 12 I get a message that says "CAHeadless error Sequence.cpp-2233" after computer starts up.  Can you tell me what this is or how to fix it?  Thanks!

    If you are using Firefox 3.6.6 version, open Tools > Options >> Advanced - Network
    The under Connections hit the Settings button - then select '''No proxy''' at the top of those settings. Restart Firefox and you should be all set.
    ''(3.6.6 added a new setting there - Use system proxy settings and sets that as the Default setting)''

  • When I startup Itunes I get "An Unknown Error Occurred -42110" Message.  Can you tell me what is wrong and how to resolve?

    When I startup Itunes I get "An Unknown Error Occurred -42110" Message.  Can you tell me what is wrong and how to resolve?

    Try the following user tip:
    iTunes for Windows 11.0.2.25 and 11.0.2.26: "Unknown error -42110" messages when launching iTunes

  • I have i pad 2 ios 4.3.1 i want to update it to 4.3.3 but i get error msg 3194 can you tell me what's wrong with apple some people talking about apple don't veryfiy 4.3.3 anymore thanks alot

    i have i pad 2 ios 4.3.1 i want to update it to 4.3.3 but i get error msg 3194 can you tell me what's wrong with apple some people talking about apple don't veryfiy 4.3.3 anymore thanks alot

    4.3.5 is the current version, so that is the version that iTunes will download, not 4.3.3
    In terms of error 3194, have you got the latest version of iTunes on your computer ? - http://support.apple.com/kb/TS3694#error3194

  • Help! We have a form with more than 200 entries and when I looked at it yesterday it had one! When you download the form to excel they all show up. However, when I added another record today it disappeared. Can you tell me what's happening? I've been usin

    Help! We have a form with more than 200 entries and when I looked at it yesterday it had one! When you download the form to excel they all show up. However, when I added another record today it disappeared. Can you tell me what's happening? I've been using adobe forms for 2 years with mass response feedback and have never had this problem.

    Greetings,
    I've never seen this issue, and I handle many iPads, of all versions. WiFi issues are generally local to the WiFi router - they are not all of the same quality, range, immunity to interference, etc. You have distance, building construction, and the biggie - interference.
    At home, I use Apple routers, and have no issues with any of my WiFi enabled devices, computers, mobile devices, etc - even the lowly PeeCees. I have locations where I have Juniper Networks, as well as Aruba, and a few Netgears - all of them work as they should.
    The cheaper routers, Linksys, D-Link, Seimens home units, and many other no name devices have caused issues of various kinds, and even connectivity.
    I have no idea what Starbucks uses, but I always have a good connection, and I go there nearly every morning and get some work done, as well as play.
    You could try changing channels, 2.4 to 5 Gigs, changing locations of the router. I have had to do all of these at one time or another over the many years that I have been a Network Engineer.
    Good Luck - Cheers,
    M.

  • On my new iPad under the space category it shows I have 5.5gb occupied by 'Other" data - Can you tell me what this is exactly and how can I reduce it Thank-you

    On my new iPad under the space category it shows I have 5.5gb occupied by 'Other" data - Can you tell me what this is exactly and how can I reduce it
    Thank-you

    How Do I Get Rid Of The “Other” Data Stored On My iPad Or iPhone?
    http://tinyurl.com/85w6xwn
    With an iOS device, the “Other” space in iTunes is used to store things like documents, settings, caches, and a few other important items. If you sync lots of documents to apps like GoodReader, DropCopy, or anything else that reads external files, your storage use can skyrocket. With iOS 5, you can see exactly which applications are taking up the most space. Just head to Settings > General > Usage, and tap the button labeled Show All Apps. The storage section will show you the app and how much storage space it is taking up. Tap on the app name to get a description of the additional storage space being used by the app’s documents and data. You can remove the storage-hogging application and all of its data directly from this screen, or manually remove the data by opening the app. Some applications, especially those designed by Apple, will allow you to remove stored data by swiping from left to right on the item to reveal a Delete button.
     Cheers, Tom

  • I am using Mavericks. I had a list of VIPS and used it extensively. Now it has disappeared and VIPs on the menu bar is faded. There is nil response to VIP in help. Can you tell me what has happened?

    I am using Mavericks. In Mail I had a list of VIPS and used it extensively. Now it has disappeared and VIPs on the menu bar is faded. There is nil response to VIP in help. Can you tell me what has happened?

    Triple-click anywhere in the line below on this page to select it:
    ~/Library/Mail/V2/MailData/VIPSenders.plist
    Right-click or control-click the highlighted line and select
    Services ▹ Show Info in Finder (or just Show Info)
    from the contextual menu.* An Info dialog should open.
    Does the dialog show "You can read and write" in the Sharing & Permissions section?
    In the General section, is the box labeled Locked checked?
    What is the Modified date?
    If you don't have read and write access to the item, change the settings as directed here. Note, however, that if one file has wrong access settings, most likely others do as well. If the item is locked, unlock it.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination command-C. Open a TextEdit window and paste into it (command-V). Select the line you just pasted and continue as above.

  • Well.., I'd like to refer the iPone 4S. However, my living place is in the Launceston in which Tasmania does not Apple store. So, can you tell me what should i do?

    **** Apple officers,
    I'm MinKyung Han who live in the Launceston. Actually, i have a question about the iPone 4S refer bushed becaues my iPone have techical erorrs, and it still expose amount of thermal energy in which lack of capacities in the battery. Also, I have not too many use the iPone, but it still hot in battery area. It is so dangerious for me.Thus, I would like to refer my iPone 4s if i can. However, alredy you know, I live in Launceston, Tasmania, where I cannot find Apple store. So, can you tell me what sould i do? such I need to send a parcel which included the iPone for you guys?
    Thank you
    MinKyung Han

    Tom, is it acceptable to use FCP7 Log & Transfer when importing card media (like I have been doing in the past) and then close FCP7 and open FCPX and import those ProRes clips - since they're in the RAID, already labeled and trimmed, and already "optimized"?  Does that sound like something that will work for me and work with FCPX?

Maybe you are looking for

  • Insert record in master detail relationship

    Hi, I have the following situation. I have two tables (master and detail in 1:1 relationship). What I want to do is to skip through the master table and insert a record into the detail table containing only the id of the master table (foreign key col

  • Smart Cover and iPad 3

    I have my new iPad and I went to the Apple Store to get a couple accessorys and I was facinated by the Smart Cover. So I bought it got home and it worked fine. The Sales person it would fit just as on an iPad 2. So I never owning an iPad 2 thought wo

  • Advice on DVD Writer for PowerBook - Matshita DVD-R UJ-815

    Hi there, I have been attempting to burn DVDs on my PowerBook using Toast Titanium Version 6 - TO NO AVAIL. During my first few attempts to burn DVDs, the SuperDrive accepted the disc but was unable to complete the Encoding process. Burning data file

  • Compare CLOBs in a query

    Hi Guys How is it possible to compare CLOBs (as a column data) coming in query result and further filter the same query to excluding the excatly similar CLOBs. Cheers Shabar Edited by: shabar on Jun 15, 2011 12:47 AM

  • No longer seeing prompt for Manual Duplex on LaserJet M1217nfw MFP for my Mac (OS 10.10.4)

    We have not been able to use the Manual Duplex Feature of our printer for quite some time.  In the past we simply saw, in the Print dialog box, a check box option next to 'duplex'.  This was available when using the Mac Text Editor, or our Microsoft