SQL Server Interview: How to prevent ‘SELECT *’ using T-SQL Script?

More

SQL Server Interview: A Golden question, Can we disable the Clustered Index?

More

A Day in the life of a DBA !

More

NoSQL: The latest buzzword in Data Science, What is NoSQL? (Day 1)

More

Database Research & Development

  • Home
  • NoSQL
    • NoSQL
    • Cassandra
  • Databases
    • Database Theory
    • Database Designing
    • SQL Server Coding Standards
    • SQL Server
    • PostgreSQL
    • MySQL
    • Greenplum
    • Linux
  • Interviews
    • SQL Server Interviews
    • MySQL Interviews
    • SQL Puzzles
  • DBA Scripts
    • SQL Server DBA Scripts
    • PostgreSQL DBA Scripts
    • MySQL DBA Scripts
    • Greenplum DBA Scripts
  • Home
  • Blog Archives !
  • (: Laugh@dbrnd :)
  • Contact Me !
sqlserverinterviews

SQL Puzzle: SQL Advance Query – Find the Column name which has all NULL

Check the below input data and expected output to find the name of the column which has all NULL records. Input Data: [crayon-6a24158fb9f2f431645535/] Expected Output: [crayon-6a24158fb9f32060651008/] Create a sample table with data: [crayon-6a24158fb9f33096413213/] Solution: [crayon-6a24158fb9f34038268829/] Please try the different solution for this puzzle and share it via comment... Reference taken from here: Oct 8, 2017Anvesh […]

October 8, 2017 SQL Puzzle
October 7, 2017

SQL Puzzle: SQL Advance Query – Print comma separated Divisions

October 6, 2017

SQL Puzzle: SQL Advance Query – Solve the challenge of DISTINCT

October 5, 2017

SQL Puzzle: SQL Advance Query – Find the range of missing years

October 4, 2017

SQL Puzzle: SQL Advance Query – Generate Row number without any default function

October 3, 2017

SQL Puzzle: SQL Advance Query – Find the Square of first Ten Number

October 2, 2017

SQL Puzzle: SQL Advance Query – Split the number and Calculate addition

October 1, 2017

SQL Puzzle: SQL Advance Query – Perform INTERSECT ALL to select all the common records

September 15, 2017

SQL Server 2016: Introduced Data Compression Algorithm to reduce the size of Table

September 14, 2017

SQL Server: Use sp_estimate_data_compression_savings for checking estimate object size and saving space

Older postsNewer posts
Follow Me !
  • Facebook
  • Linkedlin
  • Twitter
  • Google
  • Youtube
  • Flickr
MySQL !
Insert-Update, Merge statement in MySQL
MySQL: How to escape apostrophe and single quote?
MySQL: Using SQL Query Profiler finds total execution time and CPU information of the Queries
MySQL: UDF to SELECT value from a Comma Separated String at any position
MySQL: Increase the Performance of CREATE INDEX and DROP INDEX for InnoDB
MySQL: SELECT UTC_TIMESTAMP and CONVERT local date time to UTC time zone
MySQL Query Cache Part II/II
PostgreSQL !
PostgreSQL: CLUSTER – Improve Index Performance (No default cluster index)
PostgreSQL: Script to check the status of AutoVacuum for all Tables
PostgreSQL 9.4: How to Convert JSON ARRAY Elements into String ARRAY
PostgreSQL: How to Create and Use Tablespace?
PostgreSQL: Allow single NULL for UNIQUE Constraint Column
PostgreSQL [Video]: Cross Database Queries using DbLink Extension
PostgreSQL 10: Trace the Status of Transaction (Commit, In Progress, Rollback, Aborted)
About Me!

I'm Anvesh Patel, a Database Engineer certified by Oracle and IBM. I'm working as a Database Architect, Database Optimizer, Database Administrator, Database Developer. Providing the best articles and solutions for different problems in the best manner through my blogs is my passion. I have more than six years of experience with various RDBMS products like MSSQL Server, PostgreSQL, MySQL, Greenplum and currently learning and doing research on BIGData and NoSQL technology. -- Hyderabad, India.

About DBRND !

dbrnd

This is a personal blog (www.dbrnd.com).

Any views or opinions represented in this blog are personal and belong solely to the blog owner and do not represent those of people, institutions or organizations that the owner may or may not be associated with in professional or personal capacity, unless explicitly stated.

Feel free to challenge me, disagree with me, or tell me I’m completely nuts in the comments section of each blog entry, but I reserve the right to delete any comment for any reason whatsoever (abusive, profane, rude, or anonymous comments) - so keep it polite.

The content of this website is protected by copyright. No portion of this website may be copied or replicated in any form without the written consent of the website owner.

Recent Comments !
  • Anvesh Patel { Sure will do... } – May 27, 12:43 PM
  • Anvesh Patel { Great... } – May 27, 12:41 PM
  • Anvesh Patel { Great... } – May 27, 12:39 PM
  • Anvesh Patel { Great... } – May 27, 12:36 PM
  • Anvesh Patel { Great... } – May 27, 12:28 PM
  • Anvesh Patel { Great... } – May 27, 12:27 PM
  • Anvesh Patel { Great... } – May 27, 12:16 PM
  • Older »
Follow Me !
  • facebook
  • linkedin
  • twitter
  • youtube
  • google
  • flickr
© 2015 – 2019 All rights reserved. Database Research & Development (dbrnd.com)
Posting....