Автор Тема: Re: Как INSERT&SELECT в одном запросе?  (Прочитано 35 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн marksmith991

  • Новичок
  • *
  • Сообщений: 1
  • +0/-0
  • Mark smith
    • Просмотр профиля
    • salesforce developer course
Re: Как INSERT&SELECT в одном запросе?
« : 22 Января 2024, 07:39:35 »
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.
Regards
Mark Smith

 

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