Click here to Skip to main content
15,915,319 members
Home / Discussions / Database
   

Database

 
GeneralRe: Help ! Selective SQL Statement Pin
Colin Angus Mackay20-Dec-04 2:19
Colin Angus Mackay20-Dec-04 2:19 
GeneralRe: Help ! Selective SQL Statement Pin
Jon Hulatt16-Dec-04 0:40
Jon Hulatt16-Dec-04 0:40 
GeneralRe: Help ! Selective SQL Statement Pin
RDoes16-Dec-04 0:52
RDoes16-Dec-04 0:52 
GeneralRe: Help ! Selective SQL Statement Pin
Michael Potter16-Dec-04 6:09
Michael Potter16-Dec-04 6:09 
GeneralRe: Help ! Selective SQL Statement Pin
Jon Hulatt16-Dec-04 22:26
Jon Hulatt16-Dec-04 22:26 
QuestionEmbedded SQL precompiler for C#? Pin
cellod14-Dec-04 12:05
cellod14-Dec-04 12:05 
GeneralLocal SQL server name Pin
RoyceF13-Dec-04 11:59
RoyceF13-Dec-04 11:59 
GeneralRe: Local SQL server name Pin
Colin Angus Mackay13-Dec-04 12:20
Colin Angus Mackay13-Dec-04 12:20 
rfickling@iac-online.com wrote:
I am trying to connect to my (local) server to get a list of databases on that server. It doesn't work when I pass (local) as the server name, but it works if I hardcode in the actual name.

Try localhost

The server name will be the same as the machine name, unless you have installed named instances (in which case localhost will probably need to be followed by a slash and the name of the instance)

Might I also suggest that using the sa account, especially with no password, is inviting an attacker to take out your SQL Server. Also, be aware that someone with that kind of access could potentially run something like
xp_cmdshell 'format c: /fs:ntfs /v:0wn3d'
And wow! Just look at the amount of free space on the C drive, but hey! Where did my operating system go?


Do you want to know more?
WDevs.com - Member's Software Directories, Blogs, FTP, Mail and Forums


GeneralRe: Local SQL server name Pin
RoyceF13-Dec-04 12:45
RoyceF13-Dec-04 12:45 
GeneralRe: Local SQL server name Pin
Irsh15-Dec-04 0:02
Irsh15-Dec-04 0:02 
GeneralRe: Local SQL server name Pin
RoyceF15-Dec-04 5:47
RoyceF15-Dec-04 5:47 
GeneralRe: Local SQL server name Pin
Veera Raghavendra16-Dec-04 17:23
Veera Raghavendra16-Dec-04 17:23 
GeneralRe: Using DATEFIRST in a View - I want the week to start on Monday instead of Sunday. Pin
tojamismis13-Dec-04 6:52
tojamismis13-Dec-04 6:52 
GeneralUsing DATEFIRST in a View - I want the week to start on Monday instead of Sunday. Pin
Tony Manhollan13-Dec-04 6:11
Tony Manhollan13-Dec-04 6:11 
GeneralRe: Using DATEFIRST in a View - I want the week to start on Monday instead of Sunday. Pin
tojamismis13-Dec-04 6:48
tojamismis13-Dec-04 6:48 
GeneralLines of Invoice Pin
ruifernandes2412-Dec-04 11:13
ruifernandes2412-Dec-04 11:13 
GeneralRe: Lines of Invoice Pin
Edbert P12-Dec-04 13:12
Edbert P12-Dec-04 13:12 
Generalinsert string wiht ' chare Pin
Anonymous12-Dec-04 5:43
Anonymous12-Dec-04 5:43 
GeneralRe: insert string wiht ' chare Pin
DavidNohejl12-Dec-04 7:16
DavidNohejl12-Dec-04 7:16 
GeneralRe: insert string wiht ' chare Pin
Edbert P12-Dec-04 13:14
Edbert P12-Dec-04 13:14 
General.Net/COM+ Pin
Member 131282211-Dec-04 22:31
Member 131282211-Dec-04 22:31 
GeneralUpdating SQL Server 2000 with varying column names Pin
ColdWaterBlue11-Dec-04 16:03
ColdWaterBlue11-Dec-04 16:03 
GeneralRe: Updating SQL Server 2000 with varying column names Pin
Mekong River11-Dec-04 16:53
Mekong River11-Dec-04 16:53 
GeneralRe: Updating SQL Server 2000 with varying column names Pin
ColdWaterBlue11-Dec-04 21:13
ColdWaterBlue11-Dec-04 21:13 
GeneralFinding lowest integer in an Access Database Pin
pjholliday11-Dec-04 11:24
pjholliday11-Dec-04 11:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.