Click here to Skip to main content
15,897,226 members
Home / Discussions / Database
   

Database

 
QuestionDATABASE QUESTIOM Pin
Megha Rohilla18-Nov-12 9:34
Megha Rohilla18-Nov-12 9:34 
AnswerRe: DATABASE QUESTIOM Pin
Eddy Vluggen18-Nov-12 11:23
professionalEddy Vluggen18-Nov-12 11:23 
QuestionMS SQL - Tinyint - Default Value Pin
JammoD8716-Nov-12 2:56
JammoD8716-Nov-12 2:56 
AnswerRe: MS SQL - Tinyint - Default Value Pin
J4amieC16-Nov-12 3:08
J4amieC16-Nov-12 3:08 
AnswerRe: MS SQL - Tinyint - Default Value Pin
Mycroft Holmes16-Nov-12 15:11
professionalMycroft Holmes16-Nov-12 15:11 
GeneralRe: MS SQL - Tinyint - Default Value Pin
jschell17-Nov-12 6:29
jschell17-Nov-12 6:29 
GeneralRe: MS SQL - Tinyint - Default Value Pin
Mycroft Holmes17-Nov-12 15:06
professionalMycroft Holmes17-Nov-12 15:06 
AnswerRe: MS SQL - Tinyint - Default Value Pin
JammoD8716-Nov-12 22:30
JammoD8716-Nov-12 22:30 
QuestionStaging Area Pin
Phanindra26115-Nov-12 9:05
Phanindra26115-Nov-12 9:05 
AnswerRe: Staging Area Pin
R. Giskard Reventlov15-Nov-12 9:37
R. Giskard Reventlov15-Nov-12 9:37 
GeneralRe: Staging Area Pin
Phanindra26116-Nov-12 0:14
Phanindra26116-Nov-12 0:14 
GeneralRe: Staging Area Pin
R. Giskard Reventlov16-Nov-12 7:58
R. Giskard Reventlov16-Nov-12 7:58 
QuestionRe: Staging Area Pin
Phanindra26116-Nov-12 8:11
Phanindra26116-Nov-12 8:11 
AnswerRe: Staging Area Pin
R. Giskard Reventlov16-Nov-12 8:34
R. Giskard Reventlov16-Nov-12 8:34 
AnswerRe: Staging Area Pin
Mycroft Holmes16-Nov-12 15:20
professionalMycroft Holmes16-Nov-12 15:20 
GeneralRe: Staging Area Pin
S Douglas27-Nov-12 19:38
professionalS Douglas27-Nov-12 19:38 
GeneralRe: Staging Area Pin
Mycroft Holmes27-Nov-12 20:31
professionalMycroft Holmes27-Nov-12 20:31 
GeneralRe: Staging Area Pin
S Douglas29-Nov-12 7:52
professionalS Douglas29-Nov-12 7:52 
Questionfirst linq for entity frame work? Pin
Member 875182715-Nov-12 1:02
Member 875182715-Nov-12 1:02 
AnswerRe: first linq for entity frame work? Pin
Herman<T>.Instance15-Nov-12 3:17
Herman<T>.Instance15-Nov-12 3:17 
QuestionBEGIN TRANSACTION AND COMMIT TRANSACTION Pin
vanikanc14-Nov-12 7:40
vanikanc14-Nov-12 7:40 
AnswerRe: BEGIN TRANSACTION AND COMMIT TRANSACTION Pin
Phanindra26114-Nov-12 8:40
Phanindra26114-Nov-12 8:40 
no you do not have to(but it is a safer option)..Have a look at the following snippet..-

CSS
USE AdventureWorks2008R2;
GO

-- Variable to store ErrorLogID value of the row
-- inserted in the ErrorLog table by uspLogError
DECLARE @ErrorLogID INT;

BEGIN TRY
    BEGIN TRANSACTION;

    -- A FOREIGN KEY constraint exists on this table. This
    -- statement will generate a constraint violation error.
    DELETE FROM Production.Product
        WHERE ProductID = 980;

    -- If the delete operation succeeds, commit the transaction.
    COMMIT TRANSACTION;
END TRY
BEGIN CATCH
    -- Call procedure to print error information.
    EXECUTE dbo.uspPrintError;

    -- Roll back any active or uncommittable transactions before
    -- inserting information in the ErrorLog.
    IF XACT_STATE() <> 0
    BEGIN
        ROLLBACK TRANSACTION;
    END

    EXECUTE dbo.uspLogError @ErrorLogID = @ErrorLogID OUTPUT;
END CATCH;

-- Retrieve logged error information.
SELECT * FROM dbo.ErrorLog WHERE ErrorLogID = @ErrorLogID;
GO

QuestionFault Exception in WCF Services Pin
Phanindra26114-Nov-12 6:15
Phanindra26114-Nov-12 6:15 
AnswerRe: Fault Exception in WCF Services Pin
Eddy Vluggen14-Nov-12 6:36
professionalEddy Vluggen14-Nov-12 6:36 
GeneralRe: Fault Exception in WCF Services Pin
Phanindra26114-Nov-12 8:05
Phanindra26114-Nov-12 8:05 

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.