The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Insert value into every row of a table?
A simple query I know, but can someone explain the query to insert a value into every row of a table.
For instance I want to insert the value no into every row named screen in table dl_files... Thanks! |
#2
|
|||
|
|||
[sql]UPDATE dl_files
SET screen = 'no'; [/sql] If you don't want all rows to be affected, you will just add a WHERE clause to the end. PS I asume you talk about existing rows. |
#3
|
||||
|
||||
That's right, thanks a lot. Ive basically been modifiying my table from Trafix' jukebox hack so the data works with one of the download hacks.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|