Re: SELECT returnig a constant

2019-10-15 Thread Ray O'Donnell
On 15/10/2019 15:01, stan wrote: Thanks, as you can see from my SOLVED reply, I go that part figured out. Now I am trying to figure out how to complete this. The SELECT returns more than 1 row, and when I put that in the VALUES clause this does not work. Please reply to the list, rather than

Re: SELECT returnig a constant

2019-10-15 Thread Michael Lewis
On Tue, Oct 15, 2019 at 8:25 AM Geoff Winkless wrote: > On Tue, 15 Oct 2019 at 14:35, Ray O'Donnell wrote: > > > > On 15/10/2019 14:28, stan wrote: > > > I used to be able to return a constant value in a SELECT statement in > > > ORACLE. I need to populate a table for testing, and I was going

Re: SELECT returnig a constant

2019-10-15 Thread Geoff Winkless
On Tue, 15 Oct 2019 at 14:35, Ray O'Donnell wrote: > > On 15/10/2019 14:28, stan wrote: > > I used to be able to return a constant value in a SELECT statement in > > ORACLE. I need to populate a table for testing, and I was going to do so > > like this: > > > > SELECT > > employee.id , >

Re: SELECT returnig a constant

2019-10-15 Thread Ray O'Donnell
On 15/10/2019 14:28, stan wrote: I used to be able to return a constant value in a SELECT statement in ORACLE. I need to populate a table for testing, and I was going to do so like this: SELECT employee.id , project.proj_no , work_type.type ,

SOLVED Re: SELECT returnig a constant

2019-10-15 Thread stan
On Tue, Oct 15, 2019 at 09:28:51AM -0400, stan wrote: > I used to be able to return a constant value in a SELECT statement in > ORACLE. I need to populate a table for testing, and I was going to do so > like this: > > SELECT > employee.id , > project.proj_no , >

SELECT returnig a constant

2019-10-15 Thread stan
I used to be able to return a constant value in a SELECT statement in ORACLE. I need to populate a table for testing, and I was going to do so like this: SELECT employee.id , project.proj_no , work_type.type , 'rate' 1 FROM employee CROSS