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 – Create comma separated aggregation for Common schedules

Check the below input data and expected output to make the comma separated week aggregation for common schedules. Input Data: [crayon-6a24409f56670015112084/] Expected Output: [crayon-6a24409f56674107639922/] Create a table with sample data: [crayon-6a24409f56675854896717/] Solution: [crayon-6a24409f56676112226157/] Please try the different solution for this puzzle and share it via comment... Aug 23, 2017Anvesh Patel

August 23, 2017 SQL Puzzle
August 22, 2017

SQL Puzzle: SQL Advance Query – Find the Start – End Range for the Gap

August 21, 2017

SQL Server 2016: Use STRING_ESCAPE to escape single quotes, double quotes, forward slashes

August 20, 2017

SQL Server 2012: Use sp_describe_first_result_set to compare the Table Definition

August 19, 2017

SQL Server 2012: Use sp_server_diagnostics to check the health of Server

 
August 18, 2017

SQL Server: Function to remove Non ASCII Characters and Special Characters

August 17, 2017

SQL Server 2012: Introduced the new form of TRY CATCH Exception Handling using THROW

 
August 16, 2017

SQL Server 2016: Row Level Security by Example

August 15, 2017

SQL Server Interview: Have you ever created a Temporary Stored Procedure or Function?

August 14, 2017

SQL Server: Script to check the size of Query Plan Cache

Older postsNewer posts
Follow Me !
  • Facebook
  • Linkedlin
  • Twitter
  • Google
  • Youtube
  • Flickr
MySQL !
Lost Connection to MySQL Server during query
MySQL: Script to identify the locks and blocking transactions
MySQL: Function to Split String Value Using Different Delimiters and Position
MySQL 5.5: Introduced PERFORMANCE_SCHEMA storage engine to inspect the performance data
MySQL: How to get Max Value for each group?
Find Table Dependency in MySQL
MySQL: Configured InnoDB Engine for Multithreaded Database
PostgreSQL !
PostgreSQL 9.4: UNNEST() WITH ORDINALITY to generate String Array Sequence Number
PostgreSQL: Don’t Create or Drop Temp Table in LOOP, otherwise will get OID does not exist
PostgreSQL: ERROR – must be superuser to COPY to or from a file
PostgreSQL: Update the Table data using Subquery
PostgreSQL: regexp_split_to_array to Split String using different Delimiters
PostgreSQL: Set wait time for Deadlock Detection (deadlock_timeout)
PostgreSQL: password authentication failed for user “postgres” in Ubuntu
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....