|
|
Choosing A Webhost: |
Re: dbproc + dynamic query result: msg#00190db.maxdb
Hi Felde, One thing I just thought of which may be a help to you is to store the results in a temporary table. Do something like: CREATE DBPROC DBA.TEST_PROC(IN PARA1 VARCHAR(4), IN TABLE_NAME VARCHAR(10)) AS VAR QUERY VARCHAR(200); SET QUERY = 'CREATE TABLE TEMP.' || TABLE_NAME || ' AS SELECT ' || PARA1 || ' FROM DBA.DUAL'; EXECUTE QUERY; This way, you can assign a name to the table from your application (using md5 + rand or something) and then know what name to retrieve data from. This makes it multi-user safe and the same as returning a cursor. Hope that helps, JLS edlef@xxxxxxxxxxx wrote: Hi, -- MaxDB Discussion Mailing List For list archives: http://lists.mysql.com/maxdb To unsubscribe: http://lists.mysql.com/maxdb?unsub=gcdm-maxdb@xxxxxxxxxxx
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: dbproc + dynamic query result, John Singleton |
|---|---|
| Next by Date: | MySQL_Proxy and Mysql<>MaxDB Replication, John Singleton |
| Previous by Thread: | Re: dbproc + dynamic query result, John Singleton |
| Next by Thread: | Porting from Oracle, David Radcliffe @ Northampton |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home
| advertise | OSDir is
an inevitable website.
|