473,763 Members | 9,145 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

use dynamic SQL in external user-defined table function

mm
Hi,

Is it true that we can use dynamic SQLs in external user-defined scalar
functions but not in table functions?

I saw an example of "dynamic SQL in an external scalar function" in a
sample file coming with DB2 (the Convert() function in the file
sqllib/samples/c/udfemsrv.sqc).

I tried to write a table function in C which executes dynamic SQLs to
return a subset of a table, but I kept receiving an error message
(SQL0443N) with the sqlcode = -519. This error occurred during the
"PREPARE" statement.

Anyone has ideas? Thanks a lot!

-MM

Nov 12 '05 #1
0 1134

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
1619
by: Bob Rock | last post by:
Hello, is there a way to turn off dynamic help from displaying when clicking F1??? Every time I call help on a word the external MSDN opens up (just as I want) BUT also the dynamic pane inside the Visual Studio (VS .NET 2003) opens up. I've looked in the VS options and have found no way to disable it from always poping out!! Bob Rock
3
5127
by: dhnriverside | last post by:
Hi guys I'm writing a console app in C# for which i want to enable the user to have several "plug-ins". The app has a switch to set the plug-in to use, and at runtime the required dll is loaded and executed. I had thought I could do this with a C# class compiled, and just load the relevant dll file for the class we want, and call it as normal. Of course this won't work because C# class files need to be compiled into the app? Correct?
10
318
by: Bob Rock | last post by:
Hello, is there a way to turn off dynamic help from displaying when clicking F1??? Every time I call help on a word the external MSDN opens up (just as I want) BUT also the dynamic pane inside the Visual Studio (VS .NET 2003) opens up. I've looked in the VS options and have found no way to disable it from always poping out!! Bob Rock
5
3644
by: snicks | last post by:
I'm trying to exec a program external to my ASP.NET app using the following code. The external app is a VB.NET application. Dim sPPTOut As String sPPTOut = MDEPDirStr + sID + ".ppt" Dim p As New System.Diagnostics.Process 'p.Start(MDEPDirStr & "macrun.exe", sPPTOut) p.Start("C:\WINDOWS\SYSTEM32\CALC.EXE") 'p.Start("C:\WINDOWS\SYSTEM32\macrun.exe", sPPTOut)
4
1513
by: Mark B | last post by:
I have a on-the-fly created image that is something of a performance badge or emblem to reflect each salesperson's performance. The image includes their grade "A+" and their sales "650 K" embedded amongst our corporate logo. It also is a click-to-verify that takes the web user to the salesperson's sales detail page. I can get it displayed and working fine on our aspx pages because I can use the PageLoad event to call the code that makes...
0
9387
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10148
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10002
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9938
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9823
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7368
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5406
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3917
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3528
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.