|
|
| Author |
Message |
kireol
RealPoor Master of Posts

Joined: 02 Aug 2003 Posts: 9517
Location: Royal Oak, MI
|
Posted: 07/03/05 - 22:25 Post subject: visual studio C question - sort of NWS
|
|
|
Google is failing me. I cant find any sample code to do the following.
I need to make a simple application in windows that checks to see if a database exists that's in MS SQL Server. It needs to use "Windows NT domain authentication", which just uses the local boxes credentials to verify usage.
Anyone know of or can help me find a link to do this.
free pic to get you in the mood
|
|
|
Back to top
|
|
|
|
 |
Ishmael
RealPoor Guru

Joined: 03 Jun 2005 Posts: 4446
Location: The US of A
|
Posted: 07/03/05 - 23:39 Post subject:
|
|
|
|
Lmao.
|
|
|
Back to top
|
|
|
|
 |
motherface
RealPoor Guru

Joined: 12 Mar 2003 Posts: 3407
|
Posted: 07/03/05 - 23:51 Post subject:
|
|
|
I can't help, but doing anything DB-related in C a pain. You may want to look at vb or something more lightweight for something as (seemingly) simple as this.
Also that is an Opie & Anthony pic.
|
|
|
Back to top
|
|
|
|
 |
Confused
RealPoor Master of Posts

Joined: 08 Feb 2004 Posts: 6730
|
Posted: 07/03/05 - 23:55 Post subject:
|
|
|
|
select * from master..sysdatabases where name = 'Kireol_sux_cock'
|
|
|
Back to top
|
|
|
|
 |
|
|