Skip to content

Commit 5a39075

Browse files
authored
Create find-auto-increment-column.sql
1 parent 84f1adb commit 5a39075

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
SELECT COLUMN_NAME
2+
FROM INFORMATION_SCHEMA.COLUMNS
3+
WHERE TABLE_NAME = 'department_copy'
4+
AND EXTRA LIKE '%auto_increment%';

0 commit comments

Comments
 (0)