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

MySQL: Script to find Last AUTO_INCREMENT value for a Table

In this post, I am sharing a script to find last updated AUTO_INCREMENT of a MySQL Table. We use LAST_INSERT_ID() function to get the last updated AUTO_INCREMENT value for the particular running session. We can use this with any code block and it will return last updated AUTO_INCREMENT value of the last executed statement. Database […]

February 21, 2016 MySQL, MySQL DBA Script
February 20, 2016

MySQL: Script to find Source and Destination of All Foreign Key Constraint

February 19, 2016

SQL Server: Make a System Stored Procedure for Available to all Databases

February 18, 2016

SQL Server: Difference between Temp Table and Common Table Expression (CTE)

February 17, 2016

MySQL: Procedure Variable vs Session specific User Defined Variable (@variable vs variable)

February 16, 2016

PostgreSQL 9.4: Indexing on jsonb Data Type (Part 3/3)

February 15, 2016

PostgreSQL 9.4: Introduced JSON Functions and Operators (Part 2/3)

February 14, 2016

PostgreSQL 9.4: The JSON data type is Awesome (Part 1/3)

February 13, 2016

SQL Server 2012: Msg 11730, Database name cannot be specified for the sequence object in default constraints

February 12, 2016

SQL Server: Difference between Temporary Table and Table Variable

Older postsNewer posts
Follow Me !
  • Facebook
  • Linkedlin
  • Twitter
  • Google
  • Youtube
  • Flickr
MySQL !
MySQL 5.5: How to configure and enable Performance Schema Engine?
MySQL: SELECT with Index Hint option to Optimize the Query
Find Table Dependency in MySQL
MySQL: Script to find Largest Databases size on Server
MySQL: The finest solution for calculating Age from Date of Birth
MySQL: Create FEDERATED Table to SELECT data from another server (Part 3/4)
MySQL String Functions
PostgreSQL !
PostgreSQL: ERROR – canceling statement due to statement timeout
PostgreSQL: Duplicate or Copy Table with Data, Constraint, Index
PostgreSQL: Cannot Create a table with Reserved Keyword
PostgreSQL: Set listen_addresses for multiple Host Addresses
PostgreSQL: STRING_AGG() to Concatenate String Per Each Group (Like SQL Server STUFF())
PostgreSQL: The Schema Search Path and change the default PUBLIC Schema
PostgreSQL: Script to check the status of AutoVacuum for all Tables
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....