I'm sure i can figure something out using replace
, etc, but just wondering if there is anything out there that lets you simply append data to a column rather than how the common Insert
function works?
Well I guess i can do INSERT INTO TABLE (NAME) SELECT Name + @Name
right?
You use an append query when you need to add new records to an existing table by using data from other sources. If you need to change data in an existing set of records, such as updating the value of a field, you can use an update query.
To append a string to another and return one result, use the || operator. This adds two strings from the left and right together and returns one result. If you use the name of the column, don't enclose it in quotes. However, in using a string value as a space or text, enclose it in quotes.
Without more details, here's a simple example:
UPDATE YourTable SET YourColumn = YourColumn + 'Appended Data'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With