🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #1584

Re: ADO, MS Access and MS SQL Server 2000

#1584
From: Simon Elliott
Date: Wed, 26 May 2004 09:58
29 lines
2176 bytes
On 26/05/2004, Viatcheslav V. Vassiliev wrote:
> This could depend on installation - if you are using Windows
> authentication - connection string in ADO should include "Integrated
> Security=SSPI;" and no UserID and Password. 

Silly question: How do I tell what authentication I'm using?

> Another option is SQL
> Server authentication - by default user "sa" is installed with blank
> password (if you did not entered password while setup process) - try
> user name "sa" (without quotes) and your password or empty password.
> 
> Service should be started too - reboot or start service manually. You
> do not need domain controller or netword at all. However Windows 2000
> or Windows XP may be needed - I am not sure that MSDE will run on
> Win9X.

I'm running on XP SP1. (I think there are some issues with SP2.) 

Although I can't get in via osql, MSDE manager from
http://www.whitebearconsulting.com seems to be able to log me in. So I
assume that things are OK so far. Now to write some code to access it.

For a quick app, I can use TADOConnection and TADOquery, and use some
make-table SQL statements to create my tables? I think  that the
make-table syntax is slightly different between MS Access and SQL
Server?
-- 
Simon Elliott    http://www.ctsn.co.uk
Technical Details
Message-ID: <40b46a56@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <40b3af1d$1@newsgroups.borland.com> <40b43aaf@newsgroups.borland.com> <40b45285$1@newsgroups.borland.com> <40b46792@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,8abf2d740f25af17
X-Google-Attributes: gid10698b,public
From: "Simon Elliott" <Simon at ctsn.co.uk>
Subject: Re: ADO, MS Access and MS SQL Server 2000
Newsgroups: borland.public.cppbuilder.database.ado
Reply-To: "Simon Elliott" <News at ctsn.co.uk>
References: <40b3af1d$1@newsgroups.borland.com> <40b43aaf@newsgroups.borland.com> <40b45285$1@newsgroups.borland.com> <40b46792@newsgroups.borland.com>
User-Agent: XanaNews/1.16.3.1
NNTP-Posting-Host: 82.152.41.49
Message-ID: <40b46a56@newsgroups.borland.com>
Date: 26 May 2004 02:58:46 -0700
X-Trace: newsgroups.borland.com 1085565526 82.152.41.49 (26 May 2004 02:58:46 -0700)
Lines: 29
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail