Can i use create function for MSSql scalar and table valude function.

Hi,
1) Can i use create function for MSSql scalar and table valued function?
2) How many type of user defined function are there in oracle 11g express?
3) And can i reture any "type" form user defined function?
yourse sincerely

944768 wrote:
Q1)That means even if i return predefined types like integer, varchar2 then also PGA is used ?The data type does not determine where the variable is stored. A string (called a varchar2 in Oracle) can be stored in stack space, heap space, on disk, in a memory mapped file, in a shared memory, in an atom table, etc.
It is the who and what is defining and using that string, that determines where and how it is stored.
The Oracle sever supports 2 languages in PL/SQL. The PL (Programming Logic) language is a procedural/declarative language. It is NOT SQL. SQL is integrated with it. The PL/SQL engine uses private process memory (PGA). So PL/SQL variables exist in the PGA (but there are exceptions such as LOBs).
Q2) So please suggest me solution in oracle.Sounds to me you are looking at how to implement a T-SQL style function as an Oracle function, and once implemented, do joins on the function.
Do not use PL/SQL in SQL in place of a SQL select. It is not T-SQL.
One cannot use PL/SQL to create functions along the style of T-SQL, where the function executes a SQL using some conditional logic, and then return as if the function was a native SQL select.
T-SQL is an extension to the SQL language - making it a hybrid and very impure language implementation. PL is based on ADA - part of the Pascal family of languages. The E-SQL (embedded SQL) approach used in languages like C/C++, Cobol and Ada, has been transparently done in PL/SQL. You can write and mix PL code and variables with SQL code. And the PL/SQL engine figures out how to make the call from the PL/SQL engine to the SQL engine.
But PL/SQL is not "part" of the SQL language and does not "extend" the SQL language in a T-SQL fashion.
So you need to check your SQL-Server preconcepts in at the door, as they are not only irrelevant in Oracle, they are WRONG in Oracle.
The correct way in Oracle, in a nutshell - Use the SQL language to do data processing. Use PL/SQL to manage conditional process flow and the handling of errors.

Similar Messages

  • I have two iphone one is iphone 5 and othere is iphone 4 . can i use same id for both ? And do i have to purchase the application again for iphone 4 which i have buyed for iphone 5.??

    i have two iphone one is iphone 5 and othere is iphone 4 . can i use same id for both ? And do i have to purchase the application again for iphone 4 which i have buyed for iphone 5.??

    You can use the same Apple ID for both phones, you would then be able to use the purchased Apps/Content on both phones without having to pay again.

  • Can I use a domain for one site and mobile me for a different site?

    Can I use a domain for one site and mobile me for a different site?
    I have two sites, I would like to have up and I would like to do one through a domain and one through mobileme is this possible?

    Yes you can. You can use the CNAME method of forwarding for the first site (the top site in iWeb) and use the MMe URL for your account for the other site: http://web.me.com/YourAccount_Name/SiteName/
    OT

  • Can I use Time Capsule for Time Machine and a place to put my iPhoto Library

    Can I use Time Capsule for Time Machine and a place to put my iPhoto Library?

    Only if you partition the Time Capsure into two partitions, one for TM and one for the iPhoto LIbrary.  But you won't be able to backup that library as it will be on the same drive as the TM backups.
    It's not recommended.  An alternative solution is to get another EHD, move the library to it and run it from there. Then TM can backup both your boot drive and the working EHD drive.
    OT

  • Can you use time capsule for your mac and have readynas backup your pc's on the same network

    Can you use time capsule for your mac and use readynas to back up your pc's on the same network

    Sure, that is trivial setup.. they both have different names and IP addresses.
    You should be able to use ReadyNas for TM backup but you should check the latest state of play for that.

  • When I buy full CC can I use that both in my laptop and table iMac and iPad?

    When I buy full CC can I use that both in my laptop and table iMac and iPad? I hope that I do not need to pay for the CC in every equipment.

    You have two activations and can use it on two systems. iPad apps are separate and don't count.
    Mylenium

  • Can I use multiple IDs for one iTunes and multiple devices

    We have one family computer with iTunes, my older brother has an iPhone and I have an iPhone. A family ID was previously used to purchase songs for the family to share. My older brother has created an apple ID for his iPhone, and l have a yet unused apple ID. my brother downloaded songs etc onto the family iTunes that I would like to share, there are songs on the family apple ID that we would both like. Can you download purchases from multiple apple IDs into one iTunes  account, then sync that data onto multiple phones that each have a separate ID? Is iTunes linked to one ID? Can purchases from multiple IDs be grouped together in our family account. Also do I Actually need a separate Apple for my iPhone to prevent private messages and contacts being shared?
    Thanks for any advice

    I forgot to add my iPhone is brand new and unused, and also that the iTunes account has non purchased songs on there. Can these be shared. As it is a new computer the purchases from the family ID have not been downloaded yet

  • Can I use NI TestStand for testing ZigBee and Bluetooth transceivers and processors

    Hi , I should create , maintain snd excute  software test plans for testing low power wireless networks such as ZigBee, Bluetooth  using Python scripts and QA Methodology .The test design includes testing 
     RF transceivers, RF transmitters, RF receivers, System-on-Chips, Front Ends, ZigBee Processors, Bluetooth LE Processors, and RFID reader
    I am a LabVIEW Developer and familiar with testing RF Components using NI Hardware such as PXIe system but I am new to TestStand and Python. Can I use Teststand to develop and deploy the tests for this purpose and also LabVIEW instead of Python
    If it is possible could you please let me know that are the advantage and disadvantage of using LabVIEW and NI Test Stand for these kind of test design and implementation.
    I greatly appercaite your help and advice on this matter .Many thanks.

    Hi en99,
    I am unsure what you mean by usign LabVIEW instead of Python - what part of the system would LabVIEW replace? Usually if you were using Python in automated test, it would be to handle the test processing, which in this case is done by TestStand.
    As for advantages of TestStand over LabVIEW, the main one which SunRS mentioned is that TestStand has a test management engine, which covers result logging and passing test parameters to the various test modules, which can be written in many languages. As I mentioned above, it is Python which is commonly used to write alternative test managament engines. It is possible to write one in LabVIEW, but for good results it must be carefully architected and is typically a very time-consuming task if you want to keep it modular and use it for other applications. TestStand also has a number of built in tools which help to monitor various aspects of the test sequences, as well as provide multithreading optimisations.
    I hope this helps 

  • Can i use one hardrive for time machine and other data?

    i want to buy an external drive for my macbook pro retina. i want to knwo if i were to buy an external hardrive big enought ot back up my 768 on my retina could i also put other media on it (like video and movie) without it overwriting or something like that

    screenfreak wrote:
    i want to buy an external drive for my macbook pro retina. i want to knwo if i were to buy an external hardrive big enought ot back up my 768 on my retina could i also put other media on it (like video and movie) without it overwriting or something like that
    Buy one hard drive for TimeMachine, large as possible for maximum amount of saved states, keep it connected more often so it updates more often to recover deleted files.
    Buy one hard drive the same size or slightly larger to clone your boot drive to it, it will be a hold option key bootable clone in case your boot drive fails to boot. Update it before doing anything major to your machine. Keep it disconnected in case of malware so it doesn't get infected or delete your files.
    Buy one hard drive for extra storage if your boot drive is getting full for instance.
    Buy one hard drive to backup the extra storage drive and treat it like the clone, make sure you have clean extra storage drive before connecting and updating it.
    Label and date each drive, your memory will fail you and you'll accidentally overwrite a drive.
    Keep your drives separate and in their respective purposes, in other words do not use partitions or use TimeMachine to backup other drives.
    Never use Filevault, it's cracked, it's worthless, impossible to recover data and you'll have to give up the password for repair or customs/searches anyway. Use a external hardware based encrypted drives and USB Iron Keys. This way your sensitive data is off the machine and can be used with another machine.
    Despite how many drives and backups, it's good to also make burned and labeled DVD's of your most important files like music for instance when you first get them. It's because sectors fail on hard drives and takes out your data and thus on all backups made afterwards. With burned DVD's it's permanent, unless you scratch it, melt it or loose it.
    Hardware also fails, more often than software because it's moved/abused while in operation.
    If you lose your TM drive, you ALSO lose what's on the other partitions on the drive or data that TM drive was backing up from other drives.
    Drives are cheap, data is not. Protect the data. Because it's a fortune trying to recover lost data off a dead drive.

  • Can I use both Lightroom for a Mac and PC to do the same project?

    My school uses Mac I use PC I would like to know if I start my project in light room for Mac if I can finish it in Lightroom for PC?

    Yes, as long as you have a drive that both Mac & Windows can read...LR serials are platform agnostic...

  • How can I use jbo:ShowValue for some columns and bc4juix:RenderValue for other co

    Using a UIX/JSP page, how can I get the <jbo:ShowValue> tag to work in the following situation? I've ditched the "AttributeIterate" so that I can manually select the columns I want.
    --- snip ---
    <uix:form name="form1" method="GET">
    <bc4juix:Table datasource="ds1" >
    <uix:columnHeaderStamp>
    <uix:styledText textBinding="LABEL"/>
    </uix:columnHeaderStamp>
    <%--
    <jbo:AttributeIterate id="dsAttributes" datasource="ds1" hideattributes="UixShowHide">
    <bc4juix:RenderValue datasource="ds1" dataitem="<%=dsAttributes.getName()%>" />
    </jbo:AttributeIterate>
    --%>
    <bc4juix:RenderValue datasource="ds1" dataitem="FacilityDesc" />
    <bc4juix:RenderValue datasource="ds1" dataitem="LocationId" />
    <bc4juix:RenderValue datasource="ds1" dataitem="LocationDesc" />
    <%-- ** THE FOLLOWING DOES NOT DISPLAY ON THE BROWSE_EDIT_PAGE ** --%>
    <jbo:ShowValue datasource="ds1" dataitem="Notes" ></jbo:ShowValue>     
    <%-- ** THE FOLLOWING DOES NOT DISPLAY ON THE BROWSE_EDIT_PAGE ** --%>
    <uix:rawText>
    <jbo:ShowValue datasource="ds1" dataitem="Notes" ></jbo:ShowValue>     
    </uix:rawText>
    <%-- ** THE FOLLOWING DOES NOT DISPLAY ON THE BROWSE_EDIT_PAGE ** --%>
    <uix:contents>
    <uix:rawText>
    <jbo:ShowValue datasource="ds1" dataitem="Notes" ></jbo:ShowValue>     
    </uix:rawText>
    </uix:contents>
    --- snip ---
    What am I doing wrong and how can I fix this?
    Bill G...

    This will not work inside of the bc4juix:table, this tag pulls the data from the data source, it doesn't allow you to add ShowValue tags inside of the table. Take alook at the UIX Developer Guide for more information on the Table tag. The ShowValue tag can be used in a uix hierarchy outside of the tabel tag.

  • Can I use my headset for "sound-out" and phone mic...

    I have an E51 and the headset that came with it. I would like to achieve the following during calls: To use the headset for sound-out (i.e. as headphones) and the phone mic for sound-in. The mic on the headset gives a lot of static and I would rather use the phone mic (girlfriend complains).
    So I tried this: Under Tools>Settings>General>Enhancement, I set the Default to Headphones.
    Still, when I connect my headset it says "Default Enhancement: Headset" and the headset mic is automatically used.
    The default enhancement settings does not seem to matter.
    Does anyone know if there is a way to solve this? Is there a way to manually switch between the headset and phone mics?
    Thanks!

    Thanks for the reply. I am not using a bluetooth headset but a cabled one (that one that came with the phone for me -- I guess nokia skimped a bit here, not shipping with a bt headset).
    I was recently told basically the same thing you are saying in a store, that it is not possible to use the mic for sound-in during a headset call. He also said that any cabled headset or even *headphones* will be recognized as a headset by nokia phones because they all have the same 3 connectors (right, left, mic) on the 2.5mm jack. Can that really be right?
    So that means that even if I get a set of cabled headphones for my e51, I will not be able to use them for sound-out during a call?
    cheers

  • Can i use an iphone for a ipod and not activate the phone

    Can I use a IPhone 5 for a IPod and not activate the phone feature?

    i brought it from ebay, iphone 5 sprint,
    MD656LL/A

  • Any idea how you can safely use ONE computer for BOTH work and internet?

    I'm planning to set up a small music project studio, built around a powerbook, that I will be sharing with a friend of mine. My friend is going to use the computer for music AND heavy internet use, but I will only use it for music work (off-line).
    The thing is then that I am slightly worried about viruses, worms, spyware and similar unwanted stuff 'sneaking in' when the laptop is online. Even with firewall and anti-virus I guess there is always a risk.
    Any idea if there is a way of keeping things completely separate?
    How about if I had a bootable external hard drive for my work, with the Mac OS system on. Then when I'm working I could boot up from that drive (and use the computer off-line).
    Maybe we could even remove the internal hard drive from the powerbook (?), and use the powerbook with two external hard drives instead: One bootable drive for me and another bootable drive for my studio partner (and then only connect one hard drive at the time).
    Any idea if this would work well..? (I'm not sure if i.e. a virus could sneak in anyway, through the PRAM, L2 cache or the RAM or something similar) Or does anyone have any other suggestions...? Any ideas much appreciated. Thanks!

    Not too much worry with Macs, but get an Ethernet Router, skip Wireless, use strong Passwords.
    How about if I had a bootable external hard drive for my work, with the Mac OS system on. Then when I'm working I could boot up from that drive (and use the computer off-line).
    Excellent idea, especially if the heavy Net user doesn't have Admin rights.
    One bootable drive for me and another bootable drive for my studio partner (and then only connect one hard drive at the time).
    Just about foolproof! Just need 2 more drives for backup. Not sure why you'd want to remove the internal HD though.
    No Viruses yet in OSX land, in fact the only Malware I know about requires you to install it for itself!
    You'll be OK, that separate drives idea is pure genius.:-)
    Most don't need it on Macs, but here ya go on the Mac side...
    ClamXAV, free Virus scanner...
    http://www.clamxav.com/
    Little Snitch, stops/alerts outgoing stuff...
    http://www.obdev.at/products/littlesnitch/index.html
    HenWen/Snort combo, that is a free MAJOR Firewall...
    http://seiryu.home.comcast.net/henwen.html
    Then the venerable old Brickhoues/Flying Buttress Firewall...
    http://personalpages.tds.net/~brian_hill/downloads.html
    WaterRoof is a firewall management frontend with bandwidth tuning, NAT setup, port redirection, dynamic rules tracking, predefined rule sets, wizard, logs, statistics and other features.
    http://www.macupdate.com/info.php/id/23317
    Monitor net usage...
    http://mac.softpedia.com/get/Dashboard-Widgets/Information/Videotron-Internet-Us age-Monitor.shtml

  • Can i use same Server for server side and client??

    Hi,
    i m developing webservices in java and using two different server for server side and client.
    e.g. i m using one tomcat server on a machine to run webservice and again using one more tomcat server on client side at different machine.
    and hence it need two tomcat server.
    But i want only one server to run webservice and client.
    So please help me out...
    Thanks

    Hi,
    It is always recommended to maintain different servers
    REgards,
    Ravi.

Maybe you are looking for

  • Save For Web - saves original file name not new name

    Hello, when I use Save for Web with slice(s) the original file name (appended with the slice number) gets saved even though I have changed the file name in the save dialog. This only happens about 50% of the time. Sometimes it saves as expected - wit

  • Weblogic 6.0 (SP2) generates incorrect java code for JSP with response.sendRedirect()

              Hi,           Here are the steps to reproduce the problem with the examplesWebApp application           bundled with wlserver6.0(sp2):           Product: Weblogic server 6.0 (sp2)           Browser: IE 5.0           1. Add index.jsp as the

  • Photoshop cc is now freezing every time i try to open a file

    photoshop freezes if i try to open file. I have deleted pref files and uninstalled and reinstalled photoshop. worked fine a day ago

  • Module toshiba_acpi

    For the last month I have been searching for a way to control my Toshiba laptop. Recently I found out that toshset can do this for me. However, I had to load some modules like "toshiba_acpi." At first, I tried to do this manually and the result was t

  • Exporting data from bw to sapr/3

    hi gurus how to export data from bw to r/3 this data will of  OLTP kind, it will be directly coming to bw from their it has to update  into sapr/3 .. Most of the data will be of FI-GL kind, please kindly forward me req douc to my mail id [email prote