can I use create valude function for MSSql scalar and table.

Hello

(1) can I use create scalar function for MSSql and function table?
(2) is there how many type of function defined by the user in oracle 11 g express?
(3) and I can reture 'type' any form user defined function?


Attract sincerely

944768 wrote:

the answer lies in a few cases only,

The response illustrates the basic concept of how customers need to use cursors created using PL/SQL as a layer of abstraction - SQL and this concepts adapts to ALL cases where the customer wants to Oracle via PL/SQL cursor.

a case is,
If my function returns only a single value, then I can use oracle 'create function' with the return type as types predefined as a whole, varchar2 etc?
with regard to performance.

With regard to this performance problem? And why now suddenly change the question to want to use a function to return data type number or string? How does this relate to PL/SQL to return a cursor now?

A function can return scalar values, not scalar. A function may return atomic values (such as a unique number, or a non-scalar list of numbers). A function can return a complex data structure consisting of scalar values, not scalar.

However, in PL/SQL function must NOT be used to read the lines of the database to cache lines in a memory of the server PL/SQL (PGA), then back to the client.

He does not. It does not fit. It is too bloody dangerous to the overall health of the server as such code plays silly blighters with very expensive server memory.

A PL/SQL function can also be used as guideline, returning data via expensive PGA, but via the SQL engine instead and using its slider interface (which allows output data to be "gradual" and not to return all data with a single copy of croustilleur mass of the call stack) directly. IT IS, HOWEVER, AN EXCEPTION. There is very rarely the need to make the functions PL/SQL pipeline table - and is often victims of abuse and bad demonstrated with examples of absurd code here.

Tags: Database

Similar Questions

  • Can I use ESXi 4.1 for my hosts and VCenter 4.0? Or these versions must match?

    Can I use ESXi 4.1 for my hosts and VCenter 4.0? Or these versions must match?

    Thank you

    vCenter must be version 4.1 (and on a 64-bit platform) to manage guests 4.1

  • HP envy 14-2090eo: can I use the same drivers for windows 8 and 8.1

    When I check in drivers which operating systems there are drivers available for my Hp Envy 14-2090eo, it says Windows 8 (64-bit) and Windows 7 (64-bit), "and im currently using Windows 7 64 bit" but does that mean the drivers to support these 2 Windows 8 and 8.1 of Windows operating systems, said in a different way "» : are the same drivers for Windows 8 and Windows 8.1?

    Best regards from hpenvy1

    Hello:

    Your model has the AMD/Intel switchable graphics.

    It is unlikely that the W8 AMD graphics driver will work on W8.1.

    Normally, you can use some of the drivers W7/W8 on W8.1, but the graphics is very doubtful - not switchable graphics anyway.

    You can run the windows 8.1 upgrade wizard and see what it reports.

    http://Windows.Microsoft.com/en-us/Windows-8/Upgrade-Assistant-download-online-FAQ

  • Can I use Adobe Stock Photos for my CD and website designs?

    Trying to find the terms and conditions for Adobe Stock Photos.  I think I can use it for my Web site and CD, but I wanted to just make sure.

    Thank you!

    Hi christopherc

    Here is the link of FAQ where you will find information: help Adobe Stock | Frequently asked questions

    Concerning

    Jitendra

  • Can I use the product key for windows 7 Home Premium

    Can I use the product key for windows 7 Home premium without sp1 to install windows 7 Home Premium SP1. also, please provide the link for both.

    Msft.digitalrivercontent downloading is legal.

    Download Windows 7 proper. ISO file that includes Service Pack 1

    Windows 7 Home Premium 32 Bit: http://msft.digitalrivercontent.net/win/X17-58996.iso
    Windows 7 Home Premium 64-Bit: http://msft.digitalrivercontent.net/win/X17-58997.iso

    ==========================================================

    Downloading is legal

    ==========================================================

    After downloading the file correct .iso using ImgBurn or ISO gear to burn a bootable DVD.

    Create a Windows 7 Bootable DVD using the. ISO file
    Engraving of a file of Windows 7 ISO on a DVD
    http://support.Microsoft.com/default.aspx/KB/977640

    ImgBurn - in addition to supporting the creation of CD/DVD of. ISO files,
    It supports a wide range of image file formats, and it's free.
    (BIN, CUE, DI, DVD, GI, IMG, MDS, NRG, PDI and ISO)
    http://www.ImgBurn.com/

    Projectiles help you to use ImgBurn to screen: http://www.imgburn.com/index.php?act=screenshots
    Burn the ISO Images with ImgBurn article: http://neosmart.net/wiki/display/G/Burning+ISO+Images+with+ImgBurn
    (Les étapes sont les mêmes pour Windows 7 ou Windows 8), except that you do not create a repair disk but complete an installation DVD)

    Note: Always use high quality DVD + R media and slower burning (4 x or 6 x) speed is offered a choice.

    J W Stuart: http://www.pagestart.com

  • Can I use microsoft web apps for my company if I have not yet bought the desktop version of microsoft office

    Can I use microsoft web apps for my company if I have not yet bought the desktop version of microsoft office

    Yes, but don't expect to see the complex Assembly with web apps, however, since it has limited functionality.

  • Illustrator can be used as a replacement for PowerPoint.

    I'm trying to actually replace MS PowerPoint with something a little more powerful.  Illustrator can be used as a replacement for PowerPoint.  If this is not the case, would what range of products I need to replace all the features in PowerPoint?  Look forward to everyone's input.  I'm sure that they will be interesting.

    If you create presentations, I stay with Power Point, or look with Apple's Keynote.

    Illustrator could be a great asset to your workflow however. You can create all your graphics in Illustrator and then export the png files to be placed in PowerPoint.

    I have a friend who specializes in e-Learning presentations and she did exactly that. If you are interested, here is a link to his behance portfolio. 100% of its graphics are created in Illustrator, exported to png files and placed in PowerPoint for presentation. Pop - ups and button links are created in PowerPoint.

    Behance

    Let me know if that makes sense.

  • the adobe reader of adobe purchased but installed standard first pro. now, the 'pro' trial has expired and I can't use the "standard" functions

    I bought the adobe reader from adobe but installed standard first pro. now, the 'pro' trial has expired and I can't use the "standard" functions How can I solve this in order to use Adobe Standard - one that I bought?

    Hi Jodie,

    There is no standard to pro versions of Adobe Reader.

    You have downloaded the Acrobat version which is paid instead of Adobe Reader software.

    As the trial has expired, then you won't be able to use it unless you have purchased the product.

    However, you can download Adobe Reader for free using this link Adobe Acrobat Reader DC install for all versions.

    Kind regards

    Nicos

  • I can't use the right colors for a web image.

    I can't use the right colors for a web image. CC of Photoshop can replace colors because my colors are 'out of space color to print"or something like that (I hope I translated it well - I work with the Dutch version PS and this forum is English only).

    I'm not interested in printing at all. I don't want an adaptation for printing! I want just the right color to the screen for a web image.

    I changed the settings to color several times, I created my image all over again, but Photoshop maintains replace my bright red to pale pink because of color printing.

    Thanks for your help.

    Use the SRGB color space. and in the color picker when you see the warning do not click the caveat that it solves the problem. Like that will change the color that you want to use.

  • How to create a function for the function date two

    Hai All

    How can we create a function for the date function two and to return the number of hours between two dates

    For example

    1 January 2010 0815' - '01-jan-2010 1715' and I need to calculate the time between two dates

    How can I create a procedure

    Thanks I advance

    Srikkanth.M

    What have you tried?

    Here is an example (untested):

    CREATE OR REPLACE FUNCTION RETURN_HOURS
    (
            pDateStart      IN DATE
    ,       pDateEnd        IN DATE
    )
    RETURN NUMBER
    DETERMINISTIC
    AS
    BEGIN
            RETURN (pDateEnd - pDateStart) * 24;
    END RETURN_HOURS;
    
  • How can I use my instore credit for a movie

    How can I use my instore credit for a movie

    Hello R Larson,

    I see that you are wanting to use a store credit for a movie. I'll be happy for you have said in the right direction. First of all, let's see if we can find out if the credit is a credit of iTunes gift card or a credit from the Apple Store. This article will help you determine what may be:

    What kind of card do I? -Apple Support

    If credit is iTunes, you can just check your balance using the instructions found in the section below and use to either rent or buy a movie to display:

    See your credit balance - Apple Support iTunes

    If the store is an Apple Store Gift card credit, you would not be able to use iTunes to watch a movie.

    I hope this helps. See you soon!

  • Can I use the debit card for purchases of the appstore?

    can I use the debit card for purchases of the appstore?

    Is the debit card issued by your bank to access funds in an account of cheques to the Bank? Or did you buy this debit card at a local store? Apple does not accept debit, sold in stores cards. Often a debit card issued by a Bank works very well.

    By the end of 2012 mini Mac, OS X El Capitan 10.11.4. Apple Watch, 38 mm silver AL, Watch OS 2.2; iPad 2 Air & iPhone 6 + iOS 9.3

  • Can I use my product key for Windows Server 2008 after the downgrade to Windows Server 2003?

    Can I use my product key for windows 2008 after it downgrade to windows 2003?

    Hello
    Your question of Windows 7 is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please post your question in the TechNet Windows 7 Server forum.
     
    http://social.technet.Microsoft.com/forums/en/category/WindowsServer/

  • I lost the disc to restore my phone and it is no longer supported by the manufacturer. Can I use the installation disc for my desktop with my laptop serial number?

    I lost my laptop computer restore disc and it is no longer supported by the manufacturer. Can I use the installation disc for my desktop with my laptop serial number?

    My title says it all. I have an old HP laptop that they do not send to restore the disc more (I don't know yet I had one; his old laptop from my brother) and I have an installation disc for my new PC. I have a Windows XP Home edition SP2 installation disc. However, as the hard drive of my laptop broke down, I don't know what version of windows it was. I think it should have been an OEM version and the sticker says it was Windows XP Home Edition.

    Now, anyway I tried to install my installation on laptop computer disc, offering series of laptop computer but now it asks me to activate. Will it work if I activate it?

    Thank you

    Unless you are lucky enough to know someone who has a generic OEM drive, which you can borrow, I don't see a practical solution for you.  I advise you to spend the money to buy one, even if you could find one to buy from a reliable source (not eBay!).  Although a generic OEM disc should work with your product key, there is no guarantee that it will work with your product key.

    If your laptop can be retrieved through a restore partition, and you can't borrow a disc that will work with your product key, then you have pretty much exhausted all reasonable or practical options.

    I finally did! I borrowed a copy of a generic OEM drive, through activation and it is!

    Thank you much for the help...

    Now I've done could you help me more? Say now, I returned the drive OEM back (don't want to make an illegal copy) and want to be able to use my current system installed to generate a system disk that will allow me to avoid all the problems I've had up to now. What would you recommend? I've read a few articles on other forums (I did some research!) but is a little confusing. I hope you could help.

    Thank you

    @Carey Frisch - positive Get... you want to help here not only your view of what I would do with my money!

  • How can I use my current windows7 for the new portable computer

    Original title:

    Windows 7

    Hello

    I bought the original windows7 and I currently use it in my laptop. I recently bought a new laptop and now I want this original windows 7 on my new laptop.

    How can I use my current windows7 for the new portable computer

    Please notify

    Concerning

    Run you where you are unable to activate code product. It gives you a list of phone numbers for Microsoft to ring.

Maybe you are looking for

  • Irritating troubles with Bakcing Up to ICloud

    Hello, I had moments extremely annoying trying to back up my phone up to iCloud. I have about 450 photos on my iPhone 6, and about 15 apps and I have 5.0 MB of space available in iCloud off 5.0 MB. I turned my phone on and off, I deleted all unnecess

  • I want to go back to version 20. How. I hate the stuff of yahoo. Mac

    I am Mac 10.6.8 and want just my old browser back which was not related to yahoo. Yahoo has encouraged me to get 21 but I don't want to. How can I get 20 unrelated to yahoo in return.

  • Vista will not start

    Hello I have a hp dv5 - 1040ev. A month ago it started freezing initially upwards. I run the restoration but continue it in startup problem. I use the recovery partition to enable the computer to the original state but continue it problem. can I use

  • videos from the camera to the computer not download and erase. How can we get them?

    I plugged my camera and downloaded all our photos and videos of our sd desktop cards and checked the deletion when box imported but the videos do not download, even if all of them were! I checked everywhere in the windows photo gallery but can't find

  • Requires the management software for Windows 7

    I have a WRT610N router.  Its been a lot of work.  A few months ago my hard drive failed and so I've lost the ability to run the Linksys software that runs as a service under Windows.  However, I really got to use it for the last few months. But now