Support the ongoing development of Laravel.io →
Database
Last updated 2 years ago.
0

http://stackoverflow.com/questions/6963363/mysql-dbcc-checkident-syntax-error

That command doesn't seem to exist in MySQL. See that thread on StackOverflow.

0
Solution

Here is how I do.

$statement = "ALTER TABLE quotations AUTO_INCREMENT = 1;";
DB::unprepared($statement);
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.