Quantcast
Channel: Query – Technical Blog
Browsing latest articles
Browse All 8 View Live

Change MySQL auto increment value

First Check what is current increment value : SELECT `AUTO_INCREMENT` FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = 'DatabaseName' AND TABLE_NAME = 'TableName'; Now, Set auto increment value:...

View Article


MySQL database backup restore

What is the quickest way to backup & restore mysql database? First open command prompt(cmd) and get folder location from where we want to generate backup file or want to read file for restore. For...

View Article


Hibernate custom Criteria : check the length of string properties

There is no in-built function to fetch string properties length in hibernate criteria. However Hibernate also allows the creation of a custom Criterion that can be used in the criteria. Like, select *...

View Article
Browsing latest articles
Browse All 8 View Live