Skip to main content

Hello, Good evening!!


Welcome to Daily Updates

*** Happy Learning***

==>Daily Job Updates IT and Non IT

==>Every month Current Affairs

==>Every month Dividend, Bonus Issue and Stock Split information

==> JAVASCRIPT QUIZ

==>AADHAAR download, Date of birth,name and Address correction, PVC card and more links

==> MICROSOFT EXCEL TUTORIAL

SQL tricky questions and answers for interview

SQL tricky questions and answers 

(Microsoft SQL server database management system)

- Database testing interview questions 

- ETL testing interview questions 

* What is the difference between concat and +

If any one column have null, when performing plus(+) operation then all would be null

Select 'daily' + null+ 'updates' 

O/p - null

But in concat function ignore that null and gives the result with not null values 

Select concat('daily' , null,'updates')

O/p - dailyupdates

-----------------------------------------------------------------------------------------------------------

* What is the difference between len() and datalength()

-> len() ignore the trailing spaces 

len(' ss ')

O/p- 3

-> datalength() counts the trailing spaces as well

datalength(' ss ')

O/p- 4

---------------------------------------------------------------------------------------------------------

* What is the difference between DATENAME() and DATEPART()?

DATENAME() returns string

DATEPART() returns integer 

---------------------------------------------------------------------------------------------------------

* What is the difference between CURRENT_TIMESTAMP() and GETDATE()?

CURRENT_TIMESTAMP()  returns the Current date and time in YYYY-MM-DD hh:mm:ss.mmm

GETDATE() returns the current database system 

date and time in YYYY-MM-DD hh:mm:ss.mmm

-------------------------------------------------------------------------------------------------------------

* How to calculate the accurate age in years

SELECT 

((DATEDIFF(DAY, '2000/07/25', '2064/08/01')-DATEDIFF(YEAR, '2000/07/25', '2064/07/26')/4)/365)

----------------------------------------------------------------------------------------------------------------

* What are the difference among Ceiling(), round(), floor()

Ceiling() function works to produce +1 number 

SELECT CEILING(25.75) 

O/p: 26

Round() gives the result of rounding to the number given as second parameter

SELECT round(25.75,1) 

O/p: 25.80

Floor() function works to produce only number 

SELECT floor(25.75) 

O/p: 25

Comments

Popular posts from this blog

JNTUK R16 percentage calculation

JNTUK R16 PERCENTAGE CALCULATION Here R16 batch students can calculate percentage according to obtained CGPA throughout the graduation. JNTUK introduced SGPA, CGPA in 2020 batch that is R16 REGULATION. Most of the companies ask percentage but students suffer how much percentage equal to obtained CGPA. for that here providing a wonderful platform for calculation of percentage by providing CGPA. ENETR CGPA BELOW BOX AND GET PERCENTAGE: ENTER CGPA    Percentage   For Lateral Entry students CGPA Calculator-  click here for Regular students CGPA Calculator -   click here Andhra Pradesh SI and Constable recruitment Notification 2022 Details - Click here for more details feel free to comment ...

JNTUK R16 SGPA and CGPA calculator for Lateral entry b.tech

Lateral entry students those are joined directly engineering by completing polytechnic, they may or may not appeared for ECET for getting seat in engineering course. that is B.Tech students studied course in 4 years but lateral entry students studied course is 3 years, that one year spend in polytechnic course. Lateral entry students strong in Technically than regular students. for SGPA calculator -   click here NOTE: IF ANYONE WANT CALCULATE UPTO SOME SEMISTERS(LIKE UPTO 3-2) FOR PLACEMENTS CAN PROVIDE REMAINING SGPAS AND TOTAL CREDITS AS ZEROS(0) THEN WILL GET ACCURATE CGPA TILL THAT PARTICULAR SEMISTER. FOR LATERAL ENTRY SCHEME B.TECH CGPA IS... FIRST SEMISTER SGPA    total credits   SECOND SEMISTER SGPA    total credits   THIRD SEMISTER SGPA    total credits   FOURTH SEMISTER SGPA    total credits   FIFTH S...

JNTUK R16, R19 CGPA TO PERCENTAGE CALCULATOR

JNTUK R16 PERCENTAGE CALCULATION Here R16 batch students can calculate percentage according to obtained CGPA throughout the graduation. JNTUK introduced SGPA, CGPA in 2020 batch that is R16 REGULATION. Most of the companies ask percentage but students suffer how much percentage equal to obtained CGPA. for that here providing a wonderful platform for calculation of percentage by providing CGPA. Andhra Pradesh SI and Constable recruitment Notification 2022 Details - Click here ENETR CGPA BELOW BOX AND GET PERCENTAGE: ENTER CGPA    Percentage   For Lateral Entry students CGPA Calculator-  click here for Regular students CGPA Calculator -   click here Andhra Pradesh SI and Constable recruitment Notific...