Click here to Skip to main content
15,920,596 members
Home / Discussions / Database
   

Database

 
QuestionSQL Server Not Connecting Pin
Brendan Vogt18-May-06 0:32
Brendan Vogt18-May-06 0:32 
AnswerRe: SQL Server Not Connecting Pin
r.stropek4-Jun-06 5:59
r.stropek4-Jun-06 5:59 
QuestionMAXIMUM Leength of varchar Pin
NICE TO MEET18-May-06 0:28
NICE TO MEET18-May-06 0:28 
AnswerRe: MAXIMUM Leength of varchar Pin
Colin Angus Mackay18-May-06 0:35
Colin Angus Mackay18-May-06 0:35 
QuestionCombobox Pin
ADY00717-May-06 22:52
ADY00717-May-06 22:52 
QuestionComparison of two tables to catch mismatch in data Pin
Vishucool17-May-06 20:47
Vishucool17-May-06 20:47 
AnswerRe: Comparison of two tables to catch mismatch in data Pin
Jim Conigliaro19-May-06 2:11
Jim Conigliaro19-May-06 2:11 
QuestionError Message Pin
NICE TO MEET17-May-06 20:34
NICE TO MEET17-May-06 20:34 
If we use SQL Exception in DA Class

sqltransacrion trans=new ...
try
{
call SP
trans.commit
}
catch(sqlException ex)
{
ex.msg
trans.rollback
}



or




//SqlConnection con = new SqlConnection();
//SqlCommand com = new SqlCommand("procname", con);
//com.CommandType = CommandType.StoredProcedure;
//com.Parameters.Add(@Arg, SqlDbType.Text).Value = @Arg;
//com.ExecuteNonQuery();


create proc procname @Arg
as
insert into values..
if(@@Error<>0)
raiserror(...)




what is the difference in the errors raising in the above two calls

what is the difference between the error throwing





-
QuestionSQL Server 7.0 Database (Suspect)? Pin
Rashar17-May-06 8:32
Rashar17-May-06 8:32 
QuestionTime interveal question Pin
NaNg1524117-May-06 7:53
NaNg1524117-May-06 7:53 
AnswerRe: Time interveal question Pin
Eric Dahlvang17-May-06 8:45
Eric Dahlvang17-May-06 8:45 
GeneralRe: Time interveal question Pin
NaNg1524117-May-06 9:11
NaNg1524117-May-06 9:11 
GeneralRe: Time interveal question Pin
Eric Dahlvang17-May-06 9:17
Eric Dahlvang17-May-06 9:17 
GeneralRe: Time interveal question Pin
NaNg1524117-May-06 9:19
NaNg1524117-May-06 9:19 
QuestionHow to make copy of db Pin
leckey17-May-06 6:43
leckey17-May-06 6:43 
AnswerRe: How to make copy of db Pin
Colin Angus Mackay17-May-06 7:00
Colin Angus Mackay17-May-06 7:00 
AnswerRe: How to make copy of db Pin
Saqib Mehmood17-May-06 18:39
Saqib Mehmood17-May-06 18:39 
GeneralRe: How to make copy of db Pin
Colin Angus Mackay17-May-06 20:15
Colin Angus Mackay17-May-06 20:15 
GeneralRe: How to make copy of db Pin
Saqib Mehmood17-May-06 20:22
Saqib Mehmood17-May-06 20:22 
GeneralRe: How to make copy of db Pin
furher24-May-06 2:29
furher24-May-06 2:29 
QuestionQuestion about DataSet and DataAdapter in VS8 Pin
Roberto Ferraris17-May-06 5:51
Roberto Ferraris17-May-06 5:51 
AnswerRe: Question about DataSet and DataAdapter in VS8 Pin
Roberto Ferraris17-May-06 22:35
Roberto Ferraris17-May-06 22:35 
QuestionODBC connection Pin
Paps217-May-06 5:00
Paps217-May-06 5:00 
QuestionCan i add column to the middle of table in sql server. Pin
sharma sanjeev17-May-06 3:25
sharma sanjeev17-May-06 3:25 
AnswerRe: Can i add column to the middle of table in sql server. Pin
Paddy Boyd17-May-06 3:41
Paddy Boyd17-May-06 3:41 

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.