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

Database

 
QuestionGenericOLEDB - how to insert string var with single quote in value? Pin
rick at abc9-Nov-09 9:35
rick at abc9-Nov-09 9:35 
AnswerRe: GenericOLEDB - how to insert string var with single quote in value? Pin
Luc Pattyn9-Nov-09 9:45
sitebuilderLuc Pattyn9-Nov-09 9:45 
AnswerRe: GenericOLEDB - how to insert string var with single quote in value? Pin
i.j.russell9-Nov-09 9:49
i.j.russell9-Nov-09 9:49 
AnswerRe: GenericOLEDB - how to insert string var with single quote in value? Pin
Niladri_Biswas9-Nov-09 17:54
Niladri_Biswas9-Nov-09 17:54 
QuestionMicrosoft Sql Server and the Decimal Data Type Pin
BobInNJ9-Nov-09 6:29
BobInNJ9-Nov-09 6:29 
AnswerRe: Microsoft Sql Server and the Decimal Data Type Pin
J4amieC9-Nov-09 6:39
J4amieC9-Nov-09 6:39 
AnswerRe: Microsoft Sql Server and the Decimal Data Type Pin
BobInNJ9-Nov-09 6:41
BobInNJ9-Nov-09 6:41 
GeneralRe: Microsoft Sql Server and the Decimal Data Type Pin
Eddy Vluggen9-Nov-09 6:59
professionalEddy Vluggen9-Nov-09 6:59 
What's the precision of your decimal data type? That could be the cause of the overflow. The code below seems to work, can you verify it on your machine?;
DECLARE @TestTable TABLE(
    Column1 DECIMAL(18,2))

INSERT 
  INTO @TestTable
       (Column1) 
VALUES (123.4)

SELECT *
  FROM @TestTable
Using the default precision, two decimals. Might it be that your culture-settings have something else defined for the decimal separator?

I are Troll Suspicious | :suss:

GeneralRe: Microsoft Sql Server and the Decimal Data Type Pin
BobInNJ9-Nov-09 7:16
BobInNJ9-Nov-09 7:16 
GeneralRe: Microsoft Sql Server and the Decimal Data Type Pin
Eddy Vluggen9-Nov-09 7:35
professionalEddy Vluggen9-Nov-09 7:35 
AnswerRe: Microsoft Sql Server and the Decimal Data Type Pin
The Man from U.N.C.L.E.9-Nov-09 7:24
The Man from U.N.C.L.E.9-Nov-09 7:24 
AnswerRe: Microsoft Sql Server and the Decimal Data Type Pin
Luc Pattyn9-Nov-09 7:38
sitebuilderLuc Pattyn9-Nov-09 7:38 
QuestionInvalid argument in a DateDiff() function Pin
TheJudeDude9-Nov-09 4:45
TheJudeDude9-Nov-09 4:45 
AnswerRe: Invalid argument in a DateDiff() function Pin
Luc Pattyn9-Nov-09 5:07
sitebuilderLuc Pattyn9-Nov-09 5:07 
GeneralRe: Invalid argument in a DateDiff() function Pin
TheJudeDude9-Nov-09 7:08
TheJudeDude9-Nov-09 7:08 
GeneralRe: Invalid argument in a DateDiff() function Pin
The Man from U.N.C.L.E.9-Nov-09 7:28
The Man from U.N.C.L.E.9-Nov-09 7:28 
GeneralRe: Invalid argument in a DateDiff() function Pin
TheJudeDude9-Nov-09 9:09
TheJudeDude9-Nov-09 9:09 
GeneralRe: Invalid argument in a DateDiff() function Pin
Luc Pattyn9-Nov-09 9:49
sitebuilderLuc Pattyn9-Nov-09 9:49 
GeneralRe: Invalid argument in a DateDiff() function Pin
TheJudeDude9-Nov-09 10:51
TheJudeDude9-Nov-09 10:51 
GeneralRe: Invalid argument in a DateDiff() function Pin
Luc Pattyn9-Nov-09 11:21
sitebuilderLuc Pattyn9-Nov-09 11:21 
GeneralRe: Invalid argument in a DateDiff() function Pin
TheJudeDude9-Nov-09 12:13
TheJudeDude9-Nov-09 12:13 
QuestionRestore Database from a Remote Backup Pin
Vimalsoft(Pty) Ltd9-Nov-09 3:37
professionalVimalsoft(Pty) Ltd9-Nov-09 3:37 
AnswerRe: Restore Database from a Remote Backup Pin
Eddy Vluggen9-Nov-09 7:04
professionalEddy Vluggen9-Nov-09 7:04 
GeneralRe: Restore Database from a Remote Backup Pin
Vimalsoft(Pty) Ltd9-Nov-09 19:21
professionalVimalsoft(Pty) Ltd9-Nov-09 19:21 
GeneralRe: Restore Database from a Remote Backup Pin
Eddy Vluggen10-Nov-09 3:54
professionalEddy Vluggen10-Nov-09 3:54 

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.