Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. I need to compile the oracle function through asp .net

I need to compile the oracle function through asp .net

Scheduled Pinned Locked Moved C#
csharporaclehelp
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    froxy
    wrote on last edited by
    #1

    I have an oracle function.It works fine when it is static. If i create the same function dynamically though asp .net code the error comes. I tried this code ALTER FUNCTION Group_concat COMPILE This code works manually.But in the run time it does not work. Give me solution if anyone knows. Thank you

    C W 2 Replies Last reply
    0
    • F froxy

      I have an oracle function.It works fine when it is static. If i create the same function dynamically though asp .net code the error comes. I tried this code ALTER FUNCTION Group_concat COMPILE This code works manually.But in the run time it does not work. Give me solution if anyone knows. Thank you

      C Offline
      C Offline
      Colin Angus Mackay
      wrote on last edited by
      #2

      froxy wrote:

      If i create the same function dynamically though asp .net code the error comes.

      What error? And what code? (Describing the code does not count)

      Recent blog posts: *Method hiding Vs. overriding *Microsoft Surface *SQL Server / Visual Studio install order My Blog

      1 Reply Last reply
      0
      • F froxy

        I have an oracle function.It works fine when it is static. If i create the same function dynamically though asp .net code the error comes. I tried this code ALTER FUNCTION Group_concat COMPILE This code works manually.But in the run time it does not work. Give me solution if anyone knows. Thank you

        W Offline
        W Offline
        Wendelius
        wrote on last edited by
        #3

        Few issues: - why do you want to compile the function from code. You may run into trouble with that - most likely your connection hasn't got enough privileges - if you need to create a pl/sql block at runtime, perhaps you could use anonymous blocks

        The need to optimize rises from a bad design. My articles[^]

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups