[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: Capturing Database Name
- Subject: Re: Capturing Database Name
- From: "Ivory, Wayne" <wayne.ivory@ILUKA.COM>
- Date: Wed, 25 Aug 1999 08:36:24 +0800
Rhonda,
Believe it or not, $USERNAME contains the database name (at least in my SQR
3 over Informix environment it does).
Wayne Ivory
Information Services
Iluka Resources Limited
-----Original Message-----
From: Rhonda Handley [mailto:Rhonda_Handley@HCM.HONDA.COM]
Sent: Wednesday, 25 August 1999 03:44
To: Multiple recipients of list SQR-USERS
Subject: Capturing Database Name
Is it possible to access the database name within an SQR program?
We refresh our test databases with a copy of our production database when
necessary. I wrote a quick little program to zap out some of the sensitive
data. Now I want to put in a check to make sure someone doesn't run this
against production by mistake. I figure I can just check the database name
(datasource in the SQRW box).
Thanks
Rhonda Handley