User Profile

Collapse

Profile Sidebar

Collapse
medoed
medoed
Last Activity: Apr 1 '13, 12:00 PM
Joined: Mar 22 '13
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • medoed
    replied to DB2 9.7 Function + NickName + Dynamic=> Problem
    in DB2
    OK! I tried select * from scalar function with nickname - no problem. I tried dinamic in function - no problem. But , when i use NickName + Dynamic in SQL function i get problem. Why?

    I do'nt undestand, what you mean:
    1) >>You need to either not allow SQL and convert any SQL to non-SQL code.
    If You mean - java or C external function - i tried, but i get identical error.
    2) >>You need to find an alternative...
    See more | Go to post

    Leave a comment:


  • medoed
    replied to DB2 9.7 Function + NickName + Dynamic=> Problem
    in DB2
    Ок! Thanks!
    But Procedure - in not important! I want use Nickname with dynamic in function. Why function - because i will use this function in construction from.
    It is realy or i am dreamer?
    See more | Go to post

    Leave a comment:


  • medoed
    started a topic DB2 9.7 Function + NickName + Dynamic=> Problem
    in DB2

    DB2 9.7 Function + NickName + Dynamic=> Problem

    Good day! Sorry for my bad English! I am from Russia.

    I want to write scalar function (Return String), This Function work with dynamic scripts and use NickName.
    Ок.

    This is Procedure, what get SQL QWERY and after dynamic work Return STRING.

    Code:
    CREATE OR REPLACE PROCEDURE TEMP.RETURN_STR
    (IN IN_STR   VARCHAR(32000), 
     OUT OUT_STR VARCHAR(32000)
    ) 
    LANGUAGE SQL
    NOT
    ...
    See more | Go to post
No activity results to display
Show More
Working...