L
L
lexstile2019-06-05 11:28:21
SQL
lexstile, 2019-06-05 11:28:21

How to properly return data after insert sql?

Now at me at simple insert returns boolean - everything is OK or not.
Whether it is possible to make, that at insert returned either id of the added record, or all record entirely without use . requests?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konstantin Tsvetkov, 2019-06-05
@lexstile

@@IDENTITY
Or getting a key .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question