Click here to Skip to main content
15,901,122 members
Home / Discussions / Database
   

Database

 
Questionhow to write the querry for copying one image field into another image field in sql server 2000 Pin
developerit12-May-10 20:04
developerit12-May-10 20:04 
AnswerRe: how to write the querry for copying one image field into another image field in sql server 2000 Pin
developerit14-May-10 22:28
developerit14-May-10 22:28 
QuestionOS dependency with Interbase database 6.0 driver? Pin
navneet.professional12-May-10 19:57
navneet.professional12-May-10 19:57 
AnswerRe: OS dependency with Interbase database 6.0 driver? Pin
Henry Minute13-May-10 1:48
Henry Minute13-May-10 1:48 
QuestionHow to use CLongBinary to store image of size > 64 KB with Interbase Database 6.0 driver Pin
navneet.professional12-May-10 19:50
navneet.professional12-May-10 19:50 
QuestionNot Equal to Question/Problem Pin
djhankypark12-May-10 6:09
djhankypark12-May-10 6:09 
AnswerRe: Not Equal to Question/Problem Pin
J4amieC12-May-10 6:23
J4amieC12-May-10 6:23 
AnswerRe: Not Equal to Question/Problem Pin
David Skelly12-May-10 6:24
David Skelly12-May-10 6:24 
GeneralRe: Not Equal to Question/Problem Pin
PIEBALDconsult12-May-10 18:21
mvePIEBALDconsult12-May-10 18:21 
AnswerRe: Not Equal to Question/Problem Pin
Chris Meech12-May-10 6:38
Chris Meech12-May-10 6:38 
GeneralRe: Not Equal to Question/Problem Pin
J4amieC12-May-10 21:49
J4amieC12-May-10 21:49 
QuestionNeed help in query Pin
Saiyed Alam12-May-10 2:48
Saiyed Alam12-May-10 2:48 
AnswerRe: Need help in query Pin
J4amieC12-May-10 3:53
J4amieC12-May-10 3:53 
GeneralRe: Need help in query Pin
David Skelly12-May-10 5:16
David Skelly12-May-10 5:16 
GeneralRe: Need help in query Pin
J4amieC12-May-10 5:21
J4amieC12-May-10 5:21 
GeneralRe: Need help in query Pin
Saiyed Alam12-May-10 18:38
Saiyed Alam12-May-10 18:38 
AnswerRe: Need help in query Pin
Wayne Gaylard12-May-10 4:08
professionalWayne Gaylard12-May-10 4:08 
GeneralRe: Need help in query Pin
J4amieC12-May-10 5:23
J4amieC12-May-10 5:23 
QuestionHow can check the result of the TCP/IP connection???, Pin
Tunisien8611-May-10 23:37
Tunisien8611-May-10 23:37 
Hi,
I wanna ask How can I verify that my TCP/IP connection to the server is working well???
My code is:
string sConnection = "Provider=SQLNCLI.1;Persist Security Info=False;User ID=sa;Initial Catalog=GMAO;Data Source=127.0.0.1,1433;Password=sa;";
            string sSQL = "SELECT com FROM energie; ";
            SqlConnection conn = new SqlConnection(sConnection);
            SqlCommand comm = new SqlCommand(sSQL, conn);
            DataSet ds = new DataSet();

            SqlDataAdapter da = new SqlDataAdapter(sSQL,conn);   
            SqlDataReader dr = null;
            try
            {
                comm.Connection.Open();
                da.Fill(ds, "SQL Temp Table");
                foreach (DataRow d in ds.Tables[0].Rows)
                {
                    MessageBox.Show("xxxx");
                    comboBox1.Items.Add(d.ItemArray[0].ToString());
                }  

            }
            catch (SqlException ex)
            {
                MessageBox.Show("connexion impossible");
                MessageBox.Show(ex.Message);
                return;
            }

            dr.Close();
            comm.Connection.Close();

the error that must appears when connection is failed doesn't existe when running,IS it an indice that my connection goes well??
When googling,I found that the job activity monitor in the sql server management indicates that.is that true??how can I use that in checking my connection result???
Thanks Smile | :)
AnswerRe: How can check the result of the TCP/IP connection???, Pin
Simon_Whale12-May-10 0:14
Simon_Whale12-May-10 0:14 
GeneralRe: How can check the result of the TCP/IP connection???, Pin
Tunisien8612-May-10 1:02
Tunisien8612-May-10 1:02 
GeneralRe: How can check the result of the TCP/IP connection???, Pin
Simon_Whale12-May-10 1:07
Simon_Whale12-May-10 1:07 
AnswerRe: How can check the result of the TCP/IP connection???, Pin
CitrusTech12-May-10 20:12
CitrusTech12-May-10 20:12 
QuestionProblem to store file of size > 64 KB using BLOB in Interbase database Pin
navneet.professional11-May-10 21:14
navneet.professional11-May-10 21:14 
AnswerRe: Problem to store file of size > 64 KB using BLOB in Interbase database Pin
Bernhard Hiller12-May-10 2:35
Bernhard Hiller12-May-10 2:35 

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.