Click here to Skip to main content
15,927,127 members
Home / Discussions / Database
   

Database

 
GeneralRe: ' problem in query. Pin
Asim N.27-Jul-05 18:03
Asim N.27-Jul-05 18:03 
GeneralRe: ' problem in query. Pin
Christian Graus27-Jul-05 18:25
protectorChristian Graus27-Jul-05 18:25 
GeneralDatabase tables relationships Pin
Nosheen Iqbal27-Jul-05 15:02
Nosheen Iqbal27-Jul-05 15:02 
GeneralMSDE: Weirdest problem EVER. Guaranteed or your money back! Pin
Carl Mercier27-Jul-05 6:05
Carl Mercier27-Jul-05 6:05 
GeneralRe: MSDE: Weirdest problem EVER. Guaranteed or your money back! Pin
Mike Dimmick27-Jul-05 6:34
Mike Dimmick27-Jul-05 6:34 
GeneralRe: MSDE: Weirdest problem EVER. Guaranteed or your money back! Pin
Carl Mercier27-Jul-05 7:46
Carl Mercier27-Jul-05 7:46 
GeneralSQL C#.Net Pin
| Muhammad Waqas Butt |27-Jul-05 4:09
professional| Muhammad Waqas Butt |27-Jul-05 4:09 
GeneralRe: SQL C#.Net Pin
Christian Graus27-Jul-05 16:11
protectorChristian Graus27-Jul-05 16:11 
EXEC GenerateScript 'Server_Name',
'User_Name',
'Password',
'Database_Name',
'c:\File_Name.sql'

will work in query builder

SqlCommand sqlCommand = new SqlCommand("GenerateScript");
sqlCommand.CommandType = CommandType.StoredProcedure;
sqlCommand.Parameters.Add(new SqlParameter("@uname ", SqlDbType.NVarChar, 50, ParameterDirection.Input, false, 0, 0, "", DataRowVersion.Current, "User_Name"));

etc.

try
{
sqlCommand.Connection = connection;
SqlDataAdapter dataAdapter = new SqlDataAdapter(sqlCommand);
dataAdapter.Fill(dataSet);
return dataSet;
}
finally
{
connection.Close();
}

Should be a fair representation of how to run a stored proc in C#. Assuming you have a connection object.


Christian Graus - Microsoft MVP - C++
GeneralDataReader and updating at the same time Pin
paulcurtis27-Jul-05 2:30
paulcurtis27-Jul-05 2:30 
GeneralRe: DataReader and updating at the same time Pin
Mike Dimmick27-Jul-05 6:42
Mike Dimmick27-Jul-05 6:42 
GeneralRe: DataReader and updating at the same time Pin
paulcurtis28-Jul-05 2:30
paulcurtis28-Jul-05 2:30 
GeneralSQL Query Question Pin
matt cole27-Jul-05 1:16
matt cole27-Jul-05 1:16 
GeneralRe: SQL Query Question Pin
Jon Hulatt27-Jul-05 1:47
Jon Hulatt27-Jul-05 1:47 
GeneralRe: SQL Query Question Pin
Anonymous27-Jul-05 13:41
Anonymous27-Jul-05 13:41 
GeneralRe: SQL Query Question Pin
matt cole27-Jul-05 13:43
matt cole27-Jul-05 13:43 
QuestionWhat’s the proper way to do object/relation mapping? Pin
Anonymous26-Jul-05 23:54
Anonymous26-Jul-05 23:54 
GeneralSQL Reporting Services Pin
Anonymous26-Jul-05 2:41
Anonymous26-Jul-05 2:41 
Question"auto update statistics" -- any reason to turn it off? Pin
devvvy25-Jul-05 16:34
devvvy25-Jul-05 16:34 
AnswerRe: "auto update statistics" -- any reason to turn it off? Pin
toxcct26-Jul-05 1:12
toxcct26-Jul-05 1:12 
GeneralRe: "auto update statistics" -- any reason to turn it off? Pin
devvvy26-Jul-05 22:32
devvvy26-Jul-05 22:32 
AnswerRe: "auto update statistics" -- any reason to turn it off? Pin
Mike Dimmick26-Jul-05 2:25
Mike Dimmick26-Jul-05 2:25 
GeneralRe: "auto update statistics" -- any reason to turn it off? Pin
devvvy26-Jul-05 22:35
devvvy26-Jul-05 22:35 
GeneralSQL database table , Data separated by "," Pin
phokojoe25-Jul-05 0:16
phokojoe25-Jul-05 0:16 
GeneralRe: SQL database table , Data separated by "," Pin
Mike Dimmick25-Jul-05 2:33
Mike Dimmick25-Jul-05 2:33 
Generalit is possible to take sql server2000 database backup on another machine's disc. Pin
under281124-Jul-05 22:22
under281124-Jul-05 22:22 

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.