Whate is use of MOD function in pl/sql.

Answers were Sorted based on User's Feedback



Whate is use of MOD function in pl/sql...

Answer / prabu t

Same as other languages, returns remainder.
eg. select mod(5,3) as remainder from dual;
output

remainder
---------
2

Is This Answer Correct ?    11 Yes 0 No

Whate is use of MOD function in pl/sql...

Answer / dipti

it returns the reminder.
eg:-select mod(10,5) as modulus from dual;
o/p-:
modulus
------------
0

Is This Answer Correct ?    3 Yes 0 No

Whate is use of MOD function in pl/sql...

Answer / srinivas

It Displays the remainder.

Ex:
select mod(10,5),mod(5,2) from dual;

O/P: mod(10,5) mod(5,2)
0 1

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More SQL PLSQL Interview Questions

What are tables and fields?

0 Answers  


What does data normalization mean?

0 Answers  


what is the difference between sql and t-sql? : Transact sql

0 Answers  


What are pl sql data types?

0 Answers  


if table named a is there and 4 records are there then how to swap (1 and 3) and (2 and 4) records at a time

1 Answers  






Which language is used in sql?

0 Answers  


Can we use commit or rollback in trigger? If yes, then how. Please explain with a suitable example?

5 Answers   HSBC,


How can I tell if sql is running?

0 Answers  


How can we make an if statement within a select statement?

0 Answers  


What is a parameter query?

0 Answers  


How do you modify a column in sql?

0 Answers  


What is a natural join?

0 Answers  


Categories