Click here to Skip to main content
15,921,959 members
Home / Discussions / Database
   

Database

 
GeneralRe: Can't connect to local Sql Server database. Invalid connection string. Pin
i.j.russell15-Sep-06 5:27
i.j.russell15-Sep-06 5:27 
QuestionTo set an existing column to currency Pin
muchinyani14-Sep-06 23:32
muchinyani14-Sep-06 23:32 
AnswerRe: To set an existing column to currency Pin
Stephen McGuire15-Sep-06 2:36
Stephen McGuire15-Sep-06 2:36 
QuestionAlternative to a lookup table Pin
yetanotherchris14-Sep-06 22:42
yetanotherchris14-Sep-06 22:42 
AnswerRe: Alternative to a lookup table Pin
i.j.russell14-Sep-06 23:21
i.j.russell14-Sep-06 23:21 
GeneralRe: Alternative to a lookup table Pin
yetanotherchris14-Sep-06 23:27
yetanotherchris14-Sep-06 23:27 
GeneralRe: Alternative to a lookup table Pin
i.j.russell15-Sep-06 5:35
i.j.russell15-Sep-06 5:35 
QuestionNew to SQL, trying to retrieve data with VB.NET Pin
Wazr809814-Sep-06 18:41
Wazr809814-Sep-06 18:41 
Hi everyone,

I don't have any previous knowledge of SQL but need to be able to retrieve data from an SQL database here at work. From what I've managed to gather from some sample code for running SQL commands on an Excel file but the code doesn't work against an sql server. I've searched high and low on the net and best I have managed is to be able to connect to the database successfully...

Try<br />
      CN.ConnectionString = _<br />
            "Network Library=DBMSSOCN;" & _<br />
            "Data Source=xxx.xxx.xxx.xxx,xxxx;" & _<br />
            "Initial Catalog=" & dbName & ";" & _<br />
            "User ID=" & dbUser & ";" & _<br />
            "Password=" & dbPass<br />
      CN.Open()<br />
Catch ex As Exception<br />
      Console.WriteLine(ex.Message)<br />
End Try


But I don't know what to do next as far as retrieving the actual data D'Oh! | :doh:

Is anyone able to help?
AnswerRe: New to SQL, trying to retrieve data with VB.NET Pin
srushti0814-Sep-06 21:00
srushti0814-Sep-06 21:00 
AnswerRe: New to SQL, trying to retrieve data with VB.NET Pin
Michael P Butler15-Sep-06 21:05
Michael P Butler15-Sep-06 21:05 
QuestionLet a paramter calculate it's own size Pin
monrobot1314-Sep-06 16:43
monrobot1314-Sep-06 16:43 
AnswerRe: Let a paramter calculate it's own size Pin
Michael Potter15-Sep-06 4:46
Michael Potter15-Sep-06 4:46 
GeneralRe: Let a paramter calculate it's own size Pin
monrobot1315-Sep-06 11:07
monrobot1315-Sep-06 11:07 
GeneralRe: Let a paramter calculate it's own size Pin
Rob Graham17-Sep-06 5:41
Rob Graham17-Sep-06 5:41 
Questionjoins Pin
srushti0814-Sep-06 8:56
srushti0814-Sep-06 8:56 
AnswerRe: joins Pin
Chris Meech14-Sep-06 9:26
Chris Meech14-Sep-06 9:26 
QuestionWhen you delete a table,its strututral definition,data,indexes,views,constraints are permanently deleted from a database? Pin
srushti0814-Sep-06 8:52
srushti0814-Sep-06 8:52 
AnswerRe: When you delete a table,its strututral definition,data,indexes,views,constraints are permanently deleted from a database? Pin
Stephen McGuire14-Sep-06 9:11
Stephen McGuire14-Sep-06 9:11 
AnswerRe: When you delete a table,its strututral definition,data,indexes,views,constraints are permanently deleted from a database? Pin
Rob Graham14-Sep-06 10:55
Rob Graham14-Sep-06 10:55 
AnswerRe: When you delete a table,its strututral definition,data,indexes,views,constraints are permanently deleted from a database? Pin
yetanotherchris15-Sep-06 4:20
yetanotherchris15-Sep-06 4:20 
QuestionConvert Access VBA module to SQL udf Pin
Guytz14-Sep-06 3:38
Guytz14-Sep-06 3:38 
QuestionHow can I insert byte array variable in sql server ? Pin
Orchid8513-Sep-06 23:20
Orchid8513-Sep-06 23:20 
AnswerRe: How can I insert byte array variable in sql server ? Pin
Colin Angus Mackay14-Sep-06 5:27
Colin Angus Mackay14-Sep-06 5:27 
Questionuser vs login in sql server 2000 Pin
yazan_zahi13-Sep-06 22:13
yazan_zahi13-Sep-06 22:13 
AnswerRe: user vs login in sql server 2000 Pin
Colin Angus Mackay13-Sep-06 23:18
Colin Angus Mackay13-Sep-06 23:18 

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.