![]() |
|
|
|
|
|||||||
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| problem in awk command | viveksnv | Shell Programming and Scripting | 3 | 03-03-2008 12:59 AM |
| problem with tr command | ravi raj kumar | UNIX for Advanced & Expert Users | 2 | 07-02-2007 03:41 AM |
| problem with dd command or maybe AFS problem | Anta | Shell Programming and Scripting | 0 | 08-25-2006 07:10 AM |
| ls command problem | buckhtr77 | SUN Solaris | 2 | 12-06-2005 12:16 PM |
| Problem while using Sed command | gopskrish | UNIX for Dummies Questions & Answers | 2 | 06-27-2005 08:26 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
problem with sql command in pro*c
In a pro*C program, I use query follow:
INSERT INTO radacct_wk SELECT (select psid from cscterminfo where cscterminfo.TELNO = username), nasipaddress, acctstarttime, acctstoptime, acctsessiontime, acctinputoctets, acctoutputoctets, acctterminatecause, framedipaddress FROM radacct@DBSV_B; But sql error appear : SELECT (select psid from cscterminfo where cscterminfo.TELNO = username), understand this command. Please help me! |
| Forum Sponsor | ||
|
|
|
|||
|
Quote:
But that syntax is very complex and watse time, because my data is very large. |
|
|||
|
Quote:
My error may be sql command syntax in pro*C language. Because in SQL of SI OBJECT BROWSER that command run true. thanks. |
|
|||
|
similar prob faced
I faced a similar kind of problem. The problem was with scalar queries. pro*C is unable to recognise that.
Try this: int cnt; EXEC SQL select (select count(*) from tab) into :cnt from dual; Gives error. |
|||
| Google UNIX.COM |