How can i create a table which name is dynamic and not static?

i have a question to ask. normaly if i want to create a table, i must provid a name for the table. for example, create table tt (id number(5)). But now in my application, I need to control the table name with params through function, how can i do?
thx

First thank you to reply so fast!
But I met problem according to your instructive. The following is my code:
declare
m varchar(5);
begin
m:='hello';
execute immediate 'create table'|| m ||'(id number(5),name varchar(5))';
commit;
end;
The SQL*Plus tell me the command create is invalid. My oracle is 8.1.7.0.0. Maybe I miss something so that I can not get correct result. Wish your further help.
yours sincerely
zhou jinguang

Similar Messages

  • How can i retrive a table which is dropped by mistake

    hi
    how can i retrive a table which is dropped by mistake?
    Ragards Josh

    Please mention your database version?
    Suppose that a table as follows is dropped;
    SQL> drop table hr.departments cascade constraints;
    Table dropped.We can recover as follows;
    SQL> flashback table hr.departments to before drop;
    Flashback complete.Now we check that the dropped table has been retrieved;
    SQL> select object_name, object_type from dba_objects
    2     where owner='HR';
    OBJECT_NAME
    OBJECT_TYPE
    DEPARTMENTS
    TABLEFLASHBACK TABLE
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_9012.htm#sthref8923
    Overview of Oracle Flashback Table
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/backrec.htm#i1015145
    When to Use Oracle Flashback
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/backrec.htm#sthref2426
    Extracted from the link above
    Flashback Table is a push button solution to restore the contents of a table to a given point in time.
    Using Flashback Drop and Managing the Recycle Bin
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/tables.htm#sthref2381
    Adith

  • How Can I create plan Table

    Dear Experts,
    How Can I create plan Table.
    How can i read it?

    run UTLXPLAN.SQL
    under
    $ORACLE_HOME/rdbms/admin/
    check this link for detailed information
    http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14211/ex_plan.htm#i19260

  • Every time I try to download a free or paid app or in iTunes   it asks me for a credit card. (Which i don't have one)  How can i download free apps without a credit card and not reset my apple ID? I already put in 20$!!!!!

    Every time I try to download a free or paid app or in iTunes 
    it asks me for a credit card. (Which i don't have one)
    How can i download free apps without a credit card and not reset my apple ID?
    I already put in 20$!!!!!

    How to Get Apps From the App Store Without a Credit Card
    http://ipadhelp.com/ipad-help/how-to-get-free-apps-from-the-app-store-without-a- credit-card/
    Creating an iTunes Store, App Store, iBookstore, and Mac App Store account without a credit card
    http://support.apple.com/kb/ht2534
    If None is not available - On your computer launch iTunes and click "iTunes Store" in the left navigation pane. Click the "down arrow" next to your name at the top right side of the page and click "Account." Enter your username and password and click "View Account" to log into your account information. Next to your Payment Type, click "Edit." Select the "None" button and click "Done." Confirm that your card has been removed by returning to the Apple account information screen. Under Payment Type, it should say that there is no credit card on file.
     Cheers, Tom

  • How can i design square signal which having a positive and negative values equal to each other and separated from each other by controlled time or distance

    How can i design square signal which having a positive and negative values equal to each other and separated from each other by controlled time or distance, As it is shown in the figure below. and enter this signal in a daq.
    Solved!
    Go to Solution.

    By the time you spend for the nice diadram you might have done the vi
    Your DAQ like to have a waveform (array of values and dt ak 1/samplerate)
    If you set the samplerate you know the array length , create a array of zeros, and set the values of both amplitudes ... 
    Since I don't want to wire others homework here are some pictures
    And there are some drawbacks is room for improvement in my solution, just think of rounding errors ... and what might happen if the arrays get bigger ....
    Spoiler (Highlight to read)
    Greetings from Germany
    Henrik
    LV since v3.1
    “ground” is a convenient fantasy
    '˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'

  • TS3999 how can I stop syncing my outlook calendar with icloud and not loose the existing calandar data in outlook?  the calendar data which downloads to outlook, was also wiped off the gmail calendar after the icloud sync , how can I restore the data to g

    How can I stop syncing my outlook calendar with iCloud and not lose the existing calendar data in outlook?  The calendar data which downloads to Outlook was also wiped off the Gmail calendar after the iCloud sync, how can I restore the data to Gmail?

    same issue, looks like nobody answered you from last JULY....

  • How can I make my computer only recognize my network and not that of one of my neighbors?

    How can I make my computer only recognize my network and not that of one of my neighbors? This is for when I am at home, and everytime the computer goes to sleep it essentially loses the connection, only to pick up my neighbors network when it is awaken.
    I am on Comcast (Xfinity) Highspeed Cable wireless modem/router
    Thanks in advance!
    Mark

    You can make your network the preferred network.
     > System Preferences... > Network > Advanced... > Drag your preferred network name to the top of the list.

  • How can I print just a part of the page and not the full page with Adobe Reader v 10.1.2?

    how can I print just a part of the page and not the full page with Adobe Reader v 10.1.2? I need to print a engineering print with lot of information but information is too small in letter size and I don't have a plotter.

    Two ways to print a portion of a page: zooming or using the Snapshot Tool.
    ZOOMING:
    Zoom into the area you want to print.
    Click the Print icon.
    Under "Pages to Print", make sure "Current view" is selected under "More options" (you may need to click "More options" to open it).
    If you aren't satisfied with the preview, try clicking "Fit" under the Size button.
    SNAPSHOT
    Choose Edit > Take A Snapshot.
    Drag a rectangle around the area you want to print. 
    Click the Print icon.
    Under "Pages to Print", make sure that "Selected Graphic" is selected under "More options".
    To enlarge the snapshot to fit the sheet of paper, choose "Fit" under the Size button.
    Hope this helps!

  • How can i get my items to stay in place and not cross over each other when readjusting the browser s

    How can i get my items to stay in place and not cross over each other when readjusting the browser size.
    Basically on my site when i go from a small screen to a big screen everything doesn't adjust to the screen size. I don't know what im missing
    Here's the link to the page all the pages & they all do it
    http://theatricalworkslive.com/
    Thanks in advance

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, or by a peripheral device. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem.  Note: If FileVault is enabled, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Post for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • When i burn videos to a dvd-r disc it works on my macbook but not on a windows/pc or my dvd player. How can i make it work on all the above and not just a mac product?

    when i burn videos to a dvd-r disc it works on my macbook but not on a windows/pc or my dvd player. How can i make it work on all the above and not just a mac product?

    Unfortunately, the recording & movie industry does not respect the rights of the people who make them money, and thus you can only use the paid-for content in ways they see fit. Even if I lived in a bunker where no one else could possibly see the movie I paid for, therefor I'm not 'sharing it illegally', I would still not be allowed in a blue moon to copy that movie to DVD for TV viewing. Someone will tell you to get an AppleTV. How about Apple give us one for free? Until this changes, people wanting to use their content in multiple locations will continue to download music & movies via torrents, legally or illegally.

  • How can I email a photo as an attachment only and not as a photo in the body of the email?in the message

    How can I send a photo as an attachment only and not in the body of the email?

    Just drop it into the message. It goes as an attachment. Or select the image, CTRL- or RIGHT-click and select Compress .... from the context menu. Then attach the archive.

  • When I facetime the ipad (email address) it calls my phone. The accounts are completely separate. How can I get this to only call the ipad and not my phone as well?

    When I facetime the ipad (email address) it calls my phone. The accounts are completely separate. How can I get this to only call the ipad and not my phone as well?
    It calls both the ipad and iphone when calling the associated email address for the ipad. However, when I call the iphone it does not call the IPAD.
    Thanks for your help

    Are you trying to message another Apple device?
    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    Using FaceTime and iMessage behind a firewall
    http://support.apple.com/kb/HT4245
    iOS: About Messages
    http://support.apple.com/kb/HT3529
    Set up iMessage
    http://www.apple.com/ca/ios/messages/
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Setting Up Multiple iOS Devices for iMessage and Facetime
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    FaceTime and iMessage not accepting Apple ID password
    http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90
     Cheers, Tom

  • I have CS6 and CC installed on my mac when I'm using CS6 and use bridge CC activates how can I set this to only work on one and not the other

    I have CS6 and CC installed on my mac when I'm using CS6 and use bridge CC activates how can I set this to only work on one and not the other

    If you want Bridge CS6 to open when using Photoshop CS6, you must quit Bridge CC.
    Then File menu > Browse in Bridge will bring up Bridge CS6.
    If Bridge CC is already open, The File > Browse in Bridge for Photoshop CS6 will use Bridge CC and Bridge CS6 will not open.
    I hope that's the answer you were looking for.
    Gene

  • How can i get my macbook pro too stay on and not sleep when lid is closed?

    how can i get my macbook pro too stay on and not sleep when lid is closed?

    If the machine is asleep, lid closed, and you plug in to an external monitor and an external USB keyboard, the machine will wake, anbd reconfigure the screen resolution for the external monitor, Once it has made this configuration change, you can open the lid and it will continue to address only the external monitor.  At least that's how my early MacBook Pro unibody 13" works. It seems to run a bit cooler this way. It gets quite toasty with the lid closed while doing anything demanding and you are more likely to hear the fan come on.  I have not seen any temps that would cause alarm, but I do get a high speed (6000 rpm), noisy fan sometimes with the lid closed, .
    If you operate in the open-lid, external monitor only mode, if you deactivate the monitor for any reason, when it reactivates it will be running both screens, with all the navigation hassles this entails, so I generally set it not to deactivate the screen when in this mode.
    Thus I agree with those who say that some of the cooling air is drawn in around the keyboard, the difference in cooling performance is observable.  If you activate istat pro, get the computer hot running in clamshell mode, and open the lid, you can watch the CPU temp drop by a few degrees C within a couple minutes.  It isn't a huge difference, but enough the lower the fan speeds.

  • How can we create a table with more than 64 fields in the default DB?

    Dear sirs,
    I am taking part in the process of migrating a J2ee application from JBoss to SAP Server. I have imported the ejb project.
    I have an entity bean with 79 CMP fields. i have created the bean and created the table for the same also. but when i tried to build the dictionary, i am getting an error message as given below,
    "Dictionary Generation: DB2:checkNumberOfColumns (primary key of table IMP_MANDANT): number of columns (79) greater than allowed maximum (64) IMP_MANDANT.dtdbtable MyAtlasDictionary/src/packages"
    Is it mean that we can not create tables with fields more than 64?
    How can i create tables with more than 64 fields?
    Kindly help,
    Thankyou,
    Sudheesh...

    Hi,
      I found a link in the help site which says its 1024 (without key 1023).
    http://help.sap.com/saphelp_nw04s/helpdata/en/f6/069940ccd42a54e10000000a1550b0/content.htm
      Not sure about any limit of 64 columns.
    Regards,
    S.Divakar

Maybe you are looking for

  • Cloud-Team

    hallo, ich bin in einem cloud team und habe die zweite cloud auf einem weiteren Rechner installiert und wieder deinstalliert. Jetzt habe ich einen neuen Rechner und bekomme immer Fehlermeldungen,wenn ich die Programme über mein Adobe-Konto herunterla

  • Pls help. MacBook Pro is dead. What could be the problem?

    My macbook pro just suddenly won't turn on, won't charge and will not let me do anything on it. I bought it Sept 2010 and I never had any problems since. When i plug the charger there is an orange light blinking, you wont even notice it so much. The

  • Operating system for my g4

    Hello, I reciently came across a g4 that has been wiped clean and I need to install an operating system. It has 800Mhz, 256MB, 30GB . Does anyone know which operating system(s) I will be able to install on this machine. Any help will be appreciated.

  • After upgrade to Mavericks mail is crashing when I try to search for an email in a mailbox

    After upgrading to Mavericks, mail is crashing when I enter a sender name in the search box to search for emails from that person.

  • Changed drive letter after installation of Creative Suite, cannot open by double clicking file.

    Recently my computer died so I had to put my harddrive in another computer. The drive letter was different from my old drive. I didn't notice this at first and re-installed all my software that I wiped for a new Windows install on the partition (incl