🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.vdbase.data.sql
Article #1405

Re: Vdb variables in SQL statements

#1405
From: Bowen Moursund
Date: Sun, 25 Jan 1998 00:00
10 lines
812 bytes
>          sql = 'SELECT * FROM foo'        

if 'foo' is a variable, try using &macro substitution, e.g.:

  sql = 'select * from "&foo."'
____
Bowen Moursund (TeamB)
bowenNOSPAM@nerds.com
http://www.mindspring.com/~bowenm/datatech.htm
Technical Details
Message-ID: <6agtr8$qg94@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <34CA5957.6338@inna.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: ff5a1,55c42f16f0b042e2
X-Google-Attributes: gidff5a1,public
From: "Bowen Moursund" <supportinfo@borland.com>
Subject: Re: Vdb variables in SQL statements
Date: 1998/01/25
Message-ID: <6agtr8$qg94@forums.borland.com>
X-Deja-AN: 319259370
Content-Transfer-Encoding: 7bit
References: <34CA5957.6338@inna.net>
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Mimeole: Produced By Microsoft MimeOLE V4.71.1712.3
Organization: DataTech
Newsgroups: borland.public.vdbase.data.sql