Skip to main content


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 Convocation VIII for 2018-19 and 2019-20 batch OD apply

JNTUK Convocation VIII for 2018-19 and 2019-20 batch, who have taken the PC in the period of 01/01/2019 to 31/12/2020 For more details Click here last Date to apply - 18-12-2021 Required Documents: 1. PC 2. CMM (For UG ) 3. SSC 4. Recent Photo  5. For PG courses - Sem wise mark sheets 6. Adhaar front and back scanned copy 7. Bank challan or Payment - Those made offline payment should submit hard copies of above documents at the university examination Fee - Rs.2000/- Process to apply: 1. Register with Hall ticket number and email Id(user name) - Click here 2. Login with user name(E-mail ID) and password - click here 3. Enter the details and next step will be payment  Note: Updation of payment status into complete status may take 2-3 days 4. Then need to attach the required documents 5. Next step is to check the details and everything and then click on check box by agreeing that there information was furnished by you is true. 6. There will be no Submit option that is only downlo...

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...