Разное > Корзина

Re: Как INSERT&SELECT в одном запросе?

(1/1)

marksmith991:
LAST_INSERT_ID(). This function returns the AUTO_INCREMENT value of the last row that was inserted into a table with an AUTO_INCREMENT column.

How you might modify your process:

1. Insert Data
2. Get Last Inserted ID
3. Update File Name

I hope this will help you.

Навигация

[0] Главная страница сообщений

Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 
Перейти к полной версии