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

7 More

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

6 More

A Day in the life of a DBA !

10 More

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

2 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 Server: Encrypt Password using HASHBYTES function

In this post, I am sharing the use of HASHBYTE() function in SQL Server. I am late for sharing this because HASHBYTE is not a new feature. Recently, one developer asked few questions on TDE for specific column encryption. I suggested him to use HASHBYTE() and got to know that I didn’t share anything about […]

October 1, 2018 SQL Server
September 24, 2018

SQL Server: Generate the DROP Script for Table, Function, Stored Procedure, Schema

September 17, 2018

MySQL: Script to check the size of Database and Tables

 
September 10, 2018

SQL Server: How to create Read Only Table?

September 3, 2018

PostgreSQL: Script to find all Objects of a Particular User

August 27, 2018

PostgreSQL: How to get the list of all Schemas of a database in PSQL?

August 20, 2018

PostgreSQL: How to get the list of all privileges of a database in PSQL?

August 13, 2018

PostgreSQL: How to get the list of all tables and all databases in PSQL?

August 6, 2018

MySQL: How to Swap Table or Rename the table in one transaction?

July 30, 2018

MySQL: Script to find all the Tables without having a Primary Key

Page 1 of 10212345...102030...»Last »
Follow Me !
  • Facebook
  • Linkedlin
  • Twitter
  • Google
  • Youtube
  • Flickr
MySQL !
MySQL 5.7: Introduced JSON Functions for Search and Manipulation
MySQL: The Main difference between InnoDB and MyISAM
MySQL Error Handling
MySQL: Procedure Variable vs Session specific User Defined Variable (@variable vs variable)
MySQL: UDF to SELECT value from a Comma Separated String at any position
MySQL: Missing MySQL Service in services.msc (Windows System)
MySQL: Frequently asked Interview Questions and Answers Part 5
PostgreSQL !
PostgreSQL: Important Database Administrator Commands Part I
PostgreSQL: Script to find Orphaned Sequence, not owned by any Column
PostgreSQL: How to uninstall PostgreSQL 9.6 from Ubuntu
PostgreSQL: Script to search any Text from the Stored Function
PostgreSQL: Script to Stop all Connections and Force to Drop the Database
PostgreSQL: Compare two String Similarity in percentage (pg_trgm module)
PostgreSQL: pg_ident.conf to map Operating System Username and Database Username
Email Subscription !
Please subscribe for daily Update...
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 { did you try to use via psql? } – Oct 03, 7:18 PM
  • Anvesh Patel { You cant insert error message here, because it logs successful transactions only. For error logs, visit logs folder and there you can do some python script automation. } – Oct 03, 7:16 PM
  • Anvesh Patel { Sure will check and share } – Oct 03, 7:12 PM
  • Alok Tyagi { Not giving a write result, if we add 2 more row that wonby India. It will give you a wrong result. } – Oct 03, 9:17 AM
  • Azim { Hi Anvesh, First of all thanks for this script. Its really works well though there are some sessions in idle state running on the database. Can you please share any advance or better where clause for the below part "state_change < current_timestamp - INTERVAL '15' MINUTE;" It will be a... } – Oct 03, 7:25 AM
  • rolcs { great work anvesh! } – Oct 02, 8:05 PM
  • Ankush { select coalesce(length('INDIA') - length(replace('INDIA','A',null)), length('INDIA'), 0) from dual; } – Oct 01, 9:18 AM
  • Older »
Follow Me !
  • facebook
  • linkedin
  • twitter
  • youtube
  • google
  • flickr
© 2015 – 2018 All rights reserved. Database Research & Development (dbrnd.com)