Click here to Skip to main content
15,890,438 members
Home / Discussions / Database
   

Database

 
AnswerRe: Rollback transaction problem Pin
Mycroft Holmes22-Oct-08 23:44
professionalMycroft Holmes22-Oct-08 23:44 
GeneralRe: Rollback transaction problem Pin
hdtrung23-Oct-08 4:01
hdtrung23-Oct-08 4:01 
GeneralRe: Rollback transaction problem Pin
Mycroft Holmes23-Oct-08 11:51
professionalMycroft Holmes23-Oct-08 11:51 
QuestionProblem with .ldb file Pin
Venumunna22-Oct-08 15:49
Venumunna22-Oct-08 15:49 
AnswerRe: Problem with .ldb file Pin
Wendelius22-Oct-08 17:42
mentorWendelius22-Oct-08 17:42 
QuestionGet the columns name that contains this value in it's first row Pin
Muammar©21-Oct-08 22:39
Muammar©21-Oct-08 22:39 
AnswerRe: Get the columns name that contains this value in it's first row Pin
Ennis Ray Lynch, Jr.22-Oct-08 2:59
Ennis Ray Lynch, Jr.22-Oct-08 2:59 
GeneralRe: Get the columns name that contains this value in it's first row Pin
Muammar©22-Oct-08 3:32
Muammar©22-Oct-08 3:32 
AnswerRe: Get the columns name that contains this value in it's first row Pin
Wendelius22-Oct-08 4:06
mentorWendelius22-Oct-08 4:06 
Questionrounding up issue in sql.... Pin
Sasmi_Office21-Oct-08 21:54
Sasmi_Office21-Oct-08 21:54 
AnswerRe: rounding up issue in sql.... Pin
Muammar©21-Oct-08 22:51
Muammar©21-Oct-08 22:51 
GeneralRe: rounding up issue in sql.... Pin
Sasmi_Office21-Oct-08 23:01
Sasmi_Office21-Oct-08 23:01 
Actually i want last two digit i mean if i have value 2, 2.7312467 and 2.796 then the output should be 2.00, 2.73 and 2.79

thanks for the code but it's giving me error "The round function requires 2 to 3 arguments."

CODE

select round(2.792) as ID
select round(2.796) as ID

OUTPUT

Msg 189, Level 15, State 1, Line 7
The round function requires 2 to 3 arguments.
Msg 189, Level 15, State 1, Line 8
The round function requires 2 to 3 arguments.


Sasmi
GeneralRe: rounding up issue in sql.... Pin
Muammar©21-Oct-08 23:44
Muammar©21-Oct-08 23:44 
AnswerRe: rounding up issue in sql.... Pin
Ashfield21-Oct-08 23:27
Ashfield21-Oct-08 23:27 
GeneralRe: rounding up issue in sql.... Pin
Sasmi_Office22-Oct-08 0:02
Sasmi_Office22-Oct-08 0:02 
GeneralRe: rounding up issue in sql.... Pin
Ashfield22-Oct-08 2:56
Ashfield22-Oct-08 2:56 
GeneralRe: rounding up issue in sql.... Pin
Sasmi_Office22-Oct-08 3:00
Sasmi_Office22-Oct-08 3:00 
QuestionOracle Store Proc Cursor across db Pin
jensenx21-Oct-08 21:05
jensenx21-Oct-08 21:05 
AnswerRe: Oracle Store Proc Cursor across db Pin
Wendelius22-Oct-08 9:58
mentorWendelius22-Oct-08 9:58 
QuestionHow to get the column sum by checking the ids Pin
annu0821-Oct-08 19:49
annu0821-Oct-08 19:49 
AnswerRe: How to get the column sum by checking the ids Pin
fsdsmart21-Oct-08 19:55
fsdsmart21-Oct-08 19:55 
GeneralRe: How to get the column sum by checking the ids Pin
annu0821-Oct-08 20:41
annu0821-Oct-08 20:41 
GeneralRe: How to get the column sum by checking the ids Pin
Ashfield21-Oct-08 21:07
Ashfield21-Oct-08 21:07 
QuestionJoin query Pin
fsdsmart21-Oct-08 19:47
fsdsmart21-Oct-08 19:47 
AnswerRe: Join query Pin
Wendelius22-Oct-08 7:53
mentorWendelius22-Oct-08 7:53 

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.