Hi,
Consider the below...
table 'employee' with unique 'emp_id',
table 'salesorder' with 'emp_id' and unique 'sales_id'
Remember, both tables include some more different fields.
Now, i need to get the details of all employees who did
receive NONE of the salesorders. ie.. i wi
On Thu, 12 Jul 2001, James Orr wrote:
> Hi,
>
> Is there anyway that you can reference a column in a view for
> referential integrity? The problem is with the unique thing,
> obviously I can't create a unique index on a view. Here is what I
> have:
Not right now, and actually you still wouldn
Hi,
Is there anyway that you can reference a column in
a view for referential integrity? The problem is with the unique thing,
obviously I can't create a unique index on a view. Here is what I
have:
CREATE SEQUENCE
"addresses_id_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1
c
Jimmie,
> Thanks for your response,
You're welcome.
> What you are saying here is that I will indeed need an external timed
> event
> (cron) to update a field/history table of some fashion, correct?
> This is my
> main question.
Yes. Absolutely you will. Unless, of course, your users are alr
Thanks for your response,
> Actually, I can think of at least 3 different approaches.
> What's "best"
> depends on:
>
> 1) your control over the data structure (e.g. can you add an
> "employee_history" table?)
> 2) What changes to leave time calcualtions do you want to be
> time-bound,
> That
Jimmie,
> I hope this is not the wrong list for this type of question...
Nope. You're come to *exactly* the right list.
>
> I'm about to start development on a small app to track employee leave
> and
> vacation time. Based on a simple formula, each employee gets x
> number of
> days at the e
I hope this is not the wrong list for this type of question...
I'm about to start development on a small app to track employee leave and
vacation time. Based on a simple formula, each employee gets x number of
days at the end of each month. x is a function of time-in-service and
employee type:
I've never used functions in postgres, but the line
*resultp = *testo;
looks wrong to me. Shouldn't it be
strcpy(resultp, testo);
?
Regards,
Patrik Kudo
ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol
Känns det oklart? Fråga på!
On Thu, 12 Jul 2001, Fernando Eduardo B.
#include
#include
char *fernando(char *texto)
{
char *resultp = palloc(strlen(texto)+5);
*resultp = *texto;
strcat(resultp," mais");
return resultp;
}
gcc -shared fernando.c -o fernando.so
CREATE FUNCTION fernando (bpchar) RETURNS bpchar
AS '/u/src/tef/fer
Will increasing kernel shared memory size (in linux by doing "echo
134217728 >/proc/sys/kernel/shmall; echo 134217728
>/proc/sys/kernel/shmmax) help with the speed of a complicated query
with a large return set? (average 2 or more entries in return)
Thanks
--
Wei Weng
Network Software Engin
How can I control that?
Where is the setting I can tweak? I checked the doc at
http://www.archonet.com/pgdocs/tweak-perf.html. Couldn't find any
reference to it.
Thanks!
--
Wei Weng
Network Software Engineer
KenCast Inc.
---(end of broadcast)-
11 matches
Mail list logo