Skip to content

Sumit Gupta

bookmarking my life

Tag: SQL

SQL Update if Record Exists or Insert

June 9, 2015 by Sumit Gupta Bookmarked, MS SQL Server, SQL

Quite often we need an approach where we need to Insert record if it is not already present. Sometime to manage relationship. There are few different way of doing it,…

Read More

Advance SQL: Finding Hierarchical data using Recursive CTE

September 13, 2013September 13, 2013 by Sumit Gupta Bookmarked, Database, MS SQL Server, SQL

Often we have a Table that store Hierarchical data, such as any shopping cart will have product category in table that store parent table within same table. We often use…

Read More

Database Optimization

March 23, 2012 by Sumit Gupta Article, Blog: My thoughts, Database, MS SQL Server, MySQL, SQL, SQlite

Well, most of program use database for their web application. Eventually all web application does have database. But how many of those web application really works good. Well quite few….

Read More

Case Sensitive Search in SQL Server

January 19, 2012January 19, 2012 by Sumit Gupta Database, MS SQL Server, SQL

Mysql mostly provide a Case sensitive search because of its default collate configuration. However SQL server use different collate and hence by default it is not case sensitive. It is…

Read More

SQLite Bulk Insert on ADO.NET

August 15, 2011August 26, 2011 by Sumit Gupta SQlite

Today, I was trying to find an alternative on reading a Binary data file to use information in my software. For this I choose to use SQlite the embedded database….

Read More

Reseed Auto Increment Value in SQL Server

May 7, 2011 by Sumit Gupta Database, MS SQL Server, SQL

You can reseed the Auto increment field to desire number by using following SQL statement [I think it is specific for SQL Server only] other Database have their own methods….

Read More

MySQL WorkBench : New GUI

March 10, 2010 by Sumit Gupta Database, MySQL

I was looking at MySQL.com and found a new GUI, which came as replacement of old MYSQL administrative GUI. My impression was not good to learn that they have something…

Read More

Posts navigation

1 2 Next →

© 2025 Sumit Gupta // Powered by WordPress