Click here to Skip to main content
16,004,969 members
Home / Discussions / Database
   

Database

 
GeneralRe: Can i add column to the middle of table in sql server. Pin
sharma sanjeev17-May-06 4:31
sharma sanjeev17-May-06 4:31 
GeneralRe: Can i add column to the middle of table in sql server. Pin
Paddy Boyd17-May-06 4:36
Paddy Boyd17-May-06 4:36 
GeneralRe: Can i add column to the middle of table in sql server. Pin
sharma sanjeev17-May-06 4:40
sharma sanjeev17-May-06 4:40 
GeneralRe: Can i add column to the middle of table in sql server. Pin
Paddy Boyd17-May-06 4:42
Paddy Boyd17-May-06 4:42 
AnswerRe: Can i add column to the middle of table in sql server. Pin
Eric Dahlvang17-May-06 7:48
Eric Dahlvang17-May-06 7:48 
AnswerRe: Binding Select Query Result into an DataGrid Pin
Paddy Boyd17-May-06 3:45
Paddy Boyd17-May-06 3:45 
QuestionCurrencyManager Pin
ADY00717-May-06 1:28
ADY00717-May-06 1:28 
AnswerRe: Catch Error in SP Pin
Colin Angus Mackay17-May-06 1:19
Colin Angus Mackay17-May-06 1:19 
rfebin2001 wrote:
But i want to pass the error to the DAL Factory Class and we throw as a errror


I don't quite understand how you would do that. The DAL Factory class would instantial a DAL object and it would be your DAL object that communicates with the database. The DAL Factory Class' sole purpose in life should just be to construc DAL objects. If it does anything else then its responsibility is overloaded.

I'll assume for the rest that you meant DAL class/object


rfebin2001 wrote:
that is the SQL exception error plus our company's validation engine error


When you create a class derived from Exception[^] there are a number of constructors[^] that you can override. One of them[^] accepts a message (which your validator engine can produce) and another Exception object. This will be exposed as the InnerException of the Exception that is being thrown.

Is this what you are looking for?


"On two occasions, I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question."
--Charles Babbage (1791-1871)

My: Website | Blog

-- modified at 7:20 Wednesday 17th May, 2006
QuestionGetting last affected row Pin
NICE TO MEET16-May-06 23:53
NICE TO MEET16-May-06 23:53 
AnswerRe: Getting last affected row Pin
Colin Angus Mackay17-May-06 1:23
Colin Angus Mackay17-May-06 1:23 
QuestionRe: Getting last affected row Pin
NICE TO MEET17-May-06 2:42
NICE TO MEET17-May-06 2:42 
AnswerRe: Getting last affected row Pin
Colin Angus Mackay17-May-06 2:52
Colin Angus Mackay17-May-06 2:52 
QuestionMaximum size of XML in OPENXML Pin
NICE TO MEET16-May-06 23:30
NICE TO MEET16-May-06 23:30 
QuestionMultiple column with in keyword Pin
Shajeel16-May-06 23:30
Shajeel16-May-06 23:30 
AnswerRe: Multiple column with in keyword Pin
Paddy Boyd16-May-06 23:44
Paddy Boyd16-May-06 23:44 
QuestionRe: Multiple column with in keyword Pin
Shajeel16-May-06 23:55
Shajeel16-May-06 23:55 
AnswerRe: Multiple column with in keyword Pin
Rana Muhammad Javed Khan17-May-06 0:00
Rana Muhammad Javed Khan17-May-06 0:00 
QuestionRe: Multiple column with in keyword Pin
Shajeel17-May-06 0:10
Shajeel17-May-06 0:10 
AnswerRe: Multiple column with in keyword Pin
Rana Muhammad Javed Khan16-May-06 23:57
Rana Muhammad Javed Khan16-May-06 23:57 
QuestionBulk Update by OPEN XML in SQL 2005 Pin
NICE TO MEET16-May-06 23:28
NICE TO MEET16-May-06 23:28 
QuestionOPEN XML IN SQL 2005 Pin
NICE TO MEET16-May-06 23:27
NICE TO MEET16-May-06 23:27 
QuestionCatch the Error in Stored procedure and through into an DA Class Exception Pin
NICE TO MEET16-May-06 22:11
NICE TO MEET16-May-06 22:11 
AnswerRe: Catch the Error in Stored procedure and through into an DA Class Exception Pin
Colin Angus Mackay16-May-06 22:47
Colin Angus Mackay16-May-06 22:47 
QuestionComparing two tables in SQL Pin
Vishucool16-May-06 20:26
Vishucool16-May-06 20:26 
AnswerRe: Comparing two tables in SQL Pin
Colin Angus Mackay16-May-06 21:46
Colin Angus Mackay16-May-06 21:46 

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.