home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!UNIVAX.FHDA.EDU!hasan%avax.dnet
- From: hasan%avax.dnet@UNIVAX.FHDA.EDU (HASAN%AVAX.DNET@UNIVAX.FHDA.EDU)
- Newsgroups: comp.os.vms
- Subject: Use of Symbols with SQL
- Message-ID: <9208251827.AA15454@univax.fhda.edu>
- Date: 25 Aug 92 18:27:33 GMT
- Sender: daemon@ucbvax.BERKELEY.EDU
- Distribution: world
- Organization: The Internet
- Lines: 46
-
-
- Hello,
-
- Is there a way, that I can translate symbols set via
- DCL, into SQL insert statements?
-
- The code shown below, does not work. SQL is not
- translating the symbols A, B or C to their values.
-
- I am just curious, if there is any other way to use
- symbol definitions in SQL?
-
- ==========================================================================
- $ A = "AAAVAX.XXYY"
- $ B = "999.99.99.99"
- $ C = "8650"
- !
- SQL
- !
- DECLARE SCHEMA FILENAME INTERNET_INFO;
- !
- INSERT INTO NODE_INFO (NAME, ADDRESS, HWARE)
- VALUES ("''A'", "''B'", "''C'");
- |
- COMMIT;
- ==========================================================================
-
- Any help or suggestions, will be greatly appreciated.
-
-
-
- //================================\\
- || Syed Mahmood Hasan ||
- || ||
- || Systems Programmer ||
- || ||
- || hasan%avax.dnet@univax.fhda.edu ||
- || ||
- || Foothill-De Anza Community ||
- || College District ||
- || Los Altos, California ||
- || ||
- || (408) 864-8242 ||
- \\================================//
-
-
-