Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

How to read the "Registry" values using Sybase Database

3 posts in General Discussion Last posting was on 2005-01-17 19:12:55.0Z
karunakar Posted on 2005-01-17 10:25:05.0Z
From: "karunakar" <karunakarraop@stcroixsystems.com>
Newsgroups: ianywhere.public.general
Subject: How to read the "Registry" values using Sybase Database
Lines: 13
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
NNTP-Posting-Host: 203.115.124.42
X-Original-NNTP-Posting-Host: 203.115.124.42
Message-ID: <41eb9281@forums-1-dub>
Date: 17 Jan 2005 02:25:05 -0800
X-Trace: forums-1-dub 1105957505 203.115.124.42 (17 Jan 2005 02:25:05 -0800)
X-Original-Trace: 17 Jan 2005 02:25:05 -0800, 203.115.124.42
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:4063
Article PK: 7947

I want to read the registry using database Script

How to read the values Like "HKEY_LOCAL_MACHINE\SOFTWARE\Sybase\Adaptive
Server Anywhere\8.0\Location"
I want to read this location using Syabse database 8.0.2

Thank you
Karunakar


Breck Carter [TeamSybase] Posted on 2005-01-17 12:06:22.0Z
From: "Breck Carter [TeamSybase]" <NOSPAM__bcarter@risingroad.com>
Newsgroups: ianywhere.public.general
Subject: Re: How to read the "Registry" values using Sybase Database
Organization: RisingRoad Professional Services
Reply-To: NOSPAM__bcarter@risingroad.com
Message-ID: <dbanu0lches54d6pivh3bc81deikc3og8k@4ax.com>
References: <41eb9281@forums-1-dub>
X-Newsreader: Forte Agent 2.0/32.640
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Original-NNTP-Posting-Host: 208.254.244.99
X-Original-Trace: 17 Jan 2005 04:06:19 -0800, 208.254.244.99
Lines: 29
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 17 Jan 2005 04:06:21 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 17 Jan 2005 04:06:22 -0800
X-Trace: forums-1-dub 1105963582 10.22.108.75 (17 Jan 2005 04:06:22 -0800)
X-Original-Trace: 17 Jan 2005 04:06:22 -0800, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:4065
Article PK: 7949

I use a Visual C++ .dll to read the registry, calling at as an
EXTERNAL stored procedure. Visual Studio 2003 makes it almost easy.
However, passing IN and OUT parameters from SQL is a *huge* pain...
there are some examples in the samples folder.

Breck

On 17 Jan 2005 02:25:05 -0800, "karunakar"

<karunakarraop@stcroixsystems.com> wrote:

>I want to read the registry using database Script
>
>How to read the values Like "HKEY_LOCAL_MACHINE\SOFTWARE\Sybase\Adaptive
>Server Anywhere\8.0\Location"
>I want to read this location using Syabse database 8.0.2
>
>Thank you
>Karunakar
>
>
>
>

--
SQL Anywhere Studio 9 Developer's Guide
Buy the book: http://www.amazon.com/exec/obidos/ASIN/1556225067/risingroad-20
bcarter@risingroad.com
RisingRoad SQL Anywhere and MobiLink Professional Services
www.risingroad.com


Breck Carter Posted on 2005-01-17 19:12:55.0Z
Sender: 6898.41ec0e05.1804289383@sybase.com
From: Breck Carter
Newsgroups: ianywhere.public.general
Subject: Re: How to read the "Registry" values using Sybase Database
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <41ec0e37.689d.1681692777@sybase.com>
References: <41eb9281@forums-1-dub>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 17 Jan 2005 11:12:55 -0800
X-Trace: forums-1-dub 1105989175 10.22.241.41 (17 Jan 2005 11:12:55 -0800)
X-Original-Trace: 17 Jan 2005 11:12:55 -0800, 10.22.241.41
Lines: 17
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:4068
Article PK: 7953

Please do not post the same question in more than one
newsgroup.

> I want to read the registry using database Script
>
> How to read the values Like
> "HKEY_LOCAL_MACHINE\SOFTWARE\Sybase\Adaptive Server
> Anywhere\8.0\Location" I want to read this location using
> Syabse database 8.0.2
>
> Thank you
> Karunakar
>
>
>
>
>