Using SQL DML INSERT how can I put a ref atrib with out a select

What i am trying to do is use the insert statment to insert into a object table that has an atribute that is scope to another table as a REF of that type.
something like this:
INSERT INTO TABLE_AAA (NAME, SOMETHING) VALUES ('AAA','BBB');
SELECT REF(P),P.NAME FROM TABLE_AAA WHERE P.NAME='AAA';
IT GIVES ME THE REF THAT ARE 85 NUMBER AND LETTERS AND THE NAME=AAA
SO WITH THIS INFORMATION I COPY THE REF AND PUT IT IN TABLE_BBB AS:
INSERT INTO TABLE_BBB (REF_TYPE_AAA, SOMETHING)
VALUES(1234567890123456789012345678901234567890123456789012345678901234567890123456789012345,'QQQ');
THIS IS NOT WORKING I TRY DIFERENT THINGS, BUT NOTHING WORKS
WHAT I DONT WANT IS TO USE THE SELECT IN THE INSERT, I JUST WANT TO PUT THE VALUE OF THE REF IN THE INSERT.
WHAT FUNTION DO I NEED TO CAST OR CONVERT TO A REF DOES NUMBERS AND LETTERS THAT I HAVE, THAT I CAN USE A SIMPLE INSERT COMMAND.
THANK IN ADVANCE FOR YOUR KIND

Hi,
Could you give structures of objects (tables/type objects)?
It may help to clarify your doubt.
Regards,
Sailaja

Similar Messages

  • How can i delete an icloud account with out password or access to old email

    how can i delete an icloud account with out password or access to old email

    If the old ID ("email address) is yours, and is an ealier version of your current iCloud ID, go to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Click edit next to the primary email account, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address.  You can now use your current password to turn off Find My iDevice, even though it prompts you for the password for your old account ID. Then save any photo stream photos that you wish to keep to your camera roll.  When finished go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

  • I sold my ipad 2 and didn't take out my apple id. how can i log off the ipad with out having it in hand?

    I sold my ipad 2 and didn't take out my apple id. how can i log off the ipad with out having it in hand?

    You can't. But the buyer more than likely restored it because he/she could not use your Apple ID.

  • How can I update my iPhone 4 with out all my pictures or music erasing ?

    How can I update my iPhone 4 with out all my pictures or music erasing ?

    All of your music and pics should be on your computer.
    If they are not, then put them there.

  • How can i run my java program with out java language

    Hai to every one ..Iam new to java language ...am using windows xp operating system , i did not installed java language in my system .. how can i run a java program with out installing java language... Which files is requied to run java program..?
    any one can help me??

    Hai to every one ..Iam new to java language ...am
    using windows xp operating system , i did not
    installed java language in my system .. how can i run
    a java program with out installing java language...
    you ... can ... not ... do ... this
    Which files is requied to run java program..?
    any one can help me??a JVM. Download it from sun's website.
    [url http://java.sun.com/javase/downloads/index.jsp]Download JavaSE here

  • I do not have master card,visa card to make my apple ID,tell me how can I make my apple ID with out master card and visa card

    I do not have master card,visa card to make my apple ID,tell me how can I make my apple ID with out master card and visa card

    It will if you follow, exactly, the instructions on the page that lllaass included in the post above yours : Create an iTunes Store, App Store, or iBooks Store account without a credit card or other payment method

  • How can I make my app available with out logging in

    Hi guys,
    How can I make my application available with out logging in. In other word, it should work as a normal website no user name or pass word is required ?
    Best Regards,
    Fateh

    Hi Fateh,
    Edit your page, and under the security of your page change the authentication from page requires authentication to page is public
    Authentication: page is PublicSo, that your page wont ask for a login.
    Brgds,
    Mini
    Mark Answers Promptly

  • How can i get new apple id with out using credit card or visa card

    how can i get a new apple id with out using credit card or visa card?

    Hi xianlycier06,
    If you are looking to create an Apple ID without using a credit card, you may find the following article helpful:
    Apple Support: Creating an iTunes Store, App Store, iBooks Store, and Mac App Store account without a credit card
    http://support.apple.com/kb/HT2534
    Regards,
    - Brenden

  • HT204088 I can't create an apple ID for not using credit card. How can i create an apple ID with no credit cards ? Thank you.

    I read the supporting article. But those pictures were old. Also the format had changed. I can't create an Apple ID with no credit cards? I got no credit cards. I am just a secondary student and how can I have a credit card?

    Follow the instructions on this page exactly : http://support.apple.com/kb/HT2534 i.e. select a free app and click on 'create Apple ID' when 'buying' it (it worked for me yesterday).

  • How can i put my book, made with ibooksauthor for mac, on my iPad for free?

    I made a book with ibooksauthor for mac, the new app from apple to make your own ibook. But how can i get that book on my iPad, without any account you have to pay for (in the video you find on apple.com, they say it's possible)... and I want it just for my own, just on my own ipad, that's all
    sorry for my bad english
    sportie96
    thx for your help!!!

    In IBooks Author choose Share:Export... iBook. Drag the YourBook.ibooks file onto iTunes, maybe directly into the Books panel. Sync your iPad with the Mac, selecting YourBook in iTunes.

  • How can we show only display name with out showing email adress

    Guys
    Can you please tell me as to How we can show only display name with out showing email adress
    Thks&Rgds
    --Venkat                                                                                                                                                                                                                                                   

    http://java.sun.com/products/javamail/javadocs/javax/mail/internet/InternetAddress.html#getPersonal()<<<<<<<<<<<<<<<<
    could you please elobarate it. I could not understand it properly
    Thank you
    --Venkat                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How can i run my .class file with out installing java ?

    Hai friends..am new to java , plz help me any one.
    I wrote a small program in java lang. i want to run this program in my friend's system , which is doesnt have java language .. How can i run this program in my friends system with out installing java language?
    one of my friends told that ,it needs to copy the jvm in to ur directory where the java code is present . How can i copy the jvm from where to where ..?plz help me any one

    Your friend will have to install the Java runtime if they want to run Java
    programs.
    Don't go copying files yourself - and especially don't go copying them to the
    location of the Java code. After all, if your friend wants to run 42 different
    Java programs they shouldn't have to have 42 copies of the runtime.
    Just download and run the installer from this site:
    http://java.sun.com/javase/downloads/index.jsp
    Be careful to download the "Java Runtime Environment" not the JDK.

  • How can I unlock my iPhone 4S with out sim to take any carrier SIM card it is a att phone

    How can I carrier unlock iPhone 4S to take any phone sim?

    Contact AT&T to unlock AT&T phone.

  • HT1353 How can I turn on my device with out having the software.

    My ipod won't turn on it saids to connect to itunes. I do not have the software that came with the ipod. How can I get my ipod to turn on?

    connect to your computer and restore via iTunes.
    For how to restore:
    iTunes: Restoring iOS software

  • HT3939 how can i know the ios version with out activate the divice?

    hi, my iphone 4 was locked with ktf korea, and i made the payment for unlocking the phone through internet one month ago,
    but i am not able to do the second step which provided by the unlocking site, i don't know which ios is running in it ,
    can i get it with out activate the phone....

    Are you able to access the home screen? With the app that looks like a cog, it's the settings app, then you scroll a little way down to General, then the first thing you should see is "About", hit that, scroll down until you see "Version", that is your iOS that your phone is currently running. OR go to Settings > General > Software Update> and it'll tell you there too. OR try plugging your phone into your computer via 30 pin/usb cord. I'm assuming you already have an iTunes account with a current iTunes I.D. and passcode, once you plug it in and iTunes recognizes the device, in the top right it will say "iPhone" and this little bar that says that will have a spinning icon while it is synced to iTunes, click it and in the banner at the top of iTunes will say what version of iTunes the iPhone 4 has.

Maybe you are looking for

  • How can I convert Music Videos or Movies to play in iTunes ?

    I am running Windows 7 Professional and I have alot of Music Videos and Movies that I am wanting to play in the new iTunes ( 11.1.5.5 ). I am trying to find a good Program that can convert alot of these so I can import then into iTunes . I do not hav

  • Low volume warning

    My son is currently having a problem connecting to itunes. When he brings up itunes he gets a low volume warning popup stating that itunes volume has been turned down low, howereve he cannot click past this warning box nor x out of it. He has not bee

  • What about the plastic insert?

    I have a slight problem. I put a new cooler on my video card. When I tried to put the powermac back together I realized that the cooler stuck up too far to completely close the plastic insert. I went ahead and put the main silver cover back on and wh

  • Linksys WRT54G LAN Security?

    Hi guys, just want to drop some questions around here, hope to have some great responses! Just recently, I've configured Linksys WRT54G as a wireless access point and it's working fine, as well as i enable WEP and MAC filtering security. Now, I've al

  • Run OS command from Oracle

    Hi All!! Which package can help me to run OS command from SQL script? Thanks.