View Single Post
Old 09-16-2021, 08:34 PM  
natkejs
Confirmed User
 
Industry Role:
Join Date: Jan 2003
Location: Nomad Land
Posts: 1,629
Quote:
Originally Posted by sarettah View Post
Yeah but that is changing the data in the table and he said he did not want to do that.

.
My bad, I got a little lost reading through the replies.

In that case I would explicitly state the columns I'm selecting where one would simply be a string.

ie:

Code:
SELECT column1,column2,'zombie',column4 FROM table;
So instead of pulling data from the 3rd column I'm replacing it with a specific string, or number for that matter.

OOPS, second on the ball.
__________________

Last edited by natkejs; 09-16-2021 at 08:39 PM.. Reason: I see you already posted this in between our replies :)
natkejs is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote