D
D
Dmitry Korolev2017-11-04 13:10:52
Transact SQL
Dmitry Korolev, 2017-11-04 13:10:52

How to combine component parts in SET from UPDATE?

SqlCommand command = new SqlCommand("UPDATE [Library] SET [Title] = @Title AND [Tags] = @Tags AND [Body] = @Body WHERE [Id] = @Id", sqlConnection);

AND Right?
or a comma instead?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
GavriKos, 2017-11-04
@GavriKos

You do not confuse a toaster with Google.

S
Sergey, 2017-11-04
@korenb_white

Commas of course, this is not a condition!
See examples

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question