Click here to Skip to main content
15,886,963 members
Home / Discussions / Database
   

Database

 
AnswerRe: MS-SQL Sever Version Question Pin
Andy_L_J9-May-10 20:29
Andy_L_J9-May-10 20:29 
Questionhow do I find the IP of the 2005 sql server instance? Pin
Tunisien867-May-10 3:32
Tunisien867-May-10 3:32 
AnswerRe: how do I find the IP of the 2005 sql server instance? Pin
JHizzle7-May-10 4:09
JHizzle7-May-10 4:09 
GeneralRe: how do I find the IP of the 2005 sql server instance? Pin
Tunisien867-May-10 4:15
Tunisien867-May-10 4:15 
GeneralRe: how do I find the IP of the 2005 sql server instance? Pin
Peace ON7-May-10 4:22
Peace ON7-May-10 4:22 
GeneralRe: how do I find the IP of the 2005 sql server instance? Pin
Tunisien867-May-10 4:28
Tunisien867-May-10 4:28 
GeneralRe: how do I find the IP of the 2005 sql server instance? Pin
JHizzle7-May-10 4:36
JHizzle7-May-10 4:36 
GeneralRe: how do I find the IP of the 2005 sql server instance? Pin
Tunisien867-May-10 4:51
Tunisien867-May-10 4:51 
Hi JHizzle,
I create a new sql command like this:
string adr="SELECT @@SERVERNAME AS 'Server Name';";
            string sConnection = "Data Source= adr,1433;Initial Catalog=GMAO;User ID=sa;Password=sa;";

When running the application, this error appears:
Sql server adress not found:adr,1433

added to this notification:
Warning	1	The variable 'adr' is assigned but its value is never used	

What is the problem??
Thanks
GeneralRe: how do I find the IP of the 2005 sql server instance? Pin
JHizzle7-May-10 5:03
JHizzle7-May-10 5:03 
GeneralRe: how do I find the IP of the 2005 sql server instance? Pin
Tunisien867-May-10 5:10
Tunisien867-May-10 5:10 
GeneralRe: how do I find the IP of the 2005 sql server instance? Pin
JHizzle7-May-10 5:20
JHizzle7-May-10 5:20 
GeneralRe: how do I find the IP of the 2005 sql server instance? Pin
Tunisien867-May-10 5:38
Tunisien867-May-10 5:38 
GeneralRe: how do I find the IP of the 2005 sql server instance? Pin
JHizzle7-May-10 5:47
JHizzle7-May-10 5:47 
GeneralRe: how do I find the IP of the 2005 sql server instance? Pin
Eddy Vluggen7-May-10 5:09
professionalEddy Vluggen7-May-10 5:09 
GeneralRe: how do I find the IP of the 2005 sql server instance? Pin
Tunisien867-May-10 5:18
Tunisien867-May-10 5:18 
GeneralRe: how do I find the IP of the 2005 sql server instance? [modified] Pin
Eddy Vluggen7-May-10 5:24
professionalEddy Vluggen7-May-10 5:24 
GeneralRe: how do I find the IP of the 2005 sql server instance? Pin
Tunisien867-May-10 22:43
Tunisien867-May-10 22:43 
GeneralRe: how do I find the IP of the 2005 sql server instance? Pin
Eddy Vluggen8-May-10 2:17
professionalEddy Vluggen8-May-10 2:17 
AnswerRe: how do I find the IP of the 2005 sql server instance? Pin
Tunisien868-May-10 4:47
Tunisien868-May-10 4:47 
GeneralRe: how do I find the IP of the 2005 sql server instance? Pin
Eddy Vluggen8-May-10 5:39
professionalEddy Vluggen8-May-10 5:39 
GeneralRe: how do I find the IP of the 2005 sql server instance? Pin
Tunisien868-May-10 5:56
Tunisien868-May-10 5:56 
GeneralRe: how do I find the IP of the 2005 sql server instance? Pin
Eddy Vluggen8-May-10 8:23
professionalEddy Vluggen8-May-10 8:23 
Questionspatial database Pin
hotthoughtguy6-May-10 7:57
hotthoughtguy6-May-10 7:57 
AnswerRe: spatial database Pin
Bassam Saoud6-May-10 8:40
Bassam Saoud6-May-10 8:40 
AnswerRe: spatial database Pin
Abdul-Rhman Alsri6-May-10 9:11
Abdul-Rhman Alsri6-May-10 9:11 

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.