Hi,
Thanks for the feedback. I have tried this SQL and it almost works. The only problem is that it does not bring back and results for Derek in week 3 who only has an entry on Table B.
Any further ideas would be great.
I have 2 tables in my database.
Table A
ProjectWeek Employee AllocationHours AllocationCost
1 Ian 2 222
1 Bob 3 333
1 Steve 1 111
2 Ian 9 999
Table B
ProjectWeek Employee TimesheetHours...
Hi, if I run the following query:-
Yes the insert and select are separate stored procs. The insert appears to work OK.
If i run the following SQL :
SELECT resource.* FROM resource
I get the following results: -
Resource_id EntityID Name Email
1 1...
I have a stored proc that inserts data into the resource table. The key to the table is resource_id. The stored proc is set up to pass all but the resource_id as this is automatically generated.
Initially I had a problem where the auto increment was not working as it could not set the...
Hi, I am new to stored procedures and need some help is defining an SP where 3 variables are passed to a SP and a derived value is passed back.
The table name is Resource_Auth with the following attributes:-
Resource ID
password
resource_Active...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.