how can we find the number of rows in a table using mysql? : Sql dba


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More SQL PLSQL Interview Questions

Define join and name different types of joins?

0 Answers  


Is primary key clustered index?

0 Answers  


how a reference cursor works?what all adnvantages are gained with it..specify the situation?

4 Answers   TCS,


types of exceptions and what is meant by pragma autonomous_transaction ?what is the use.

4 Answers   3i Infotech,


What is a sql statement?

0 Answers  






What is memory optimized table?

0 Answers  


Hi All, I am new to both this blog and technology. I was able to see a response for one of the questions on triggers as below. I would like to know why are we using " if rtrim(to_char(sysdate,'day'))=rtrim('sunday') then" instead, can't we use " if sysdate = 'sunday' then". I can understand the use of "rtrim", but dont know y v r using to_char. I have seen this in many cases but did not get a convincible explaination. Please help me with this and do excuse if this question sounds silly. Thanks in advance...... create or replace trigger trg_sun before insert on <table name> begin if rtrim(to_char(sysdate,'day'))=rtrim('sunday') then raise_application_error(-20345,'no transaction in sunday'); end if; end trg_sun;

2 Answers  


Which is faster truncate or drop?

0 Answers  


How to fetch common records from two tables?

1 Answers  


Which tcp/ip port does sql server run?

0 Answers  


What is the difference between nvl function, ifnull function, and isnull function?

0 Answers  


What is normalization? dec 2009

3 Answers   Cognizant,


Categories