🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: cn.bbs.comp.database
1 messages
1 total messages Started by 12 Wed, 24 Feb 2010 21:58
Re: ����Ʒ���
#108
Author: 12
Date: Wed, 24 Feb 2010 21:58
30 lines
2650 bytes
�����û������
��һ��E=(A,R), A', R'
����Ҫ��������ѯ
R�Ƿ���R'�����ȣ�
A�Ƿ���ͨ��A'?
��������𰸶��ǡ��ǡ����Ǿ�����ִ�У������ܡ�

�����������ǻ�������ģ�������ͨ�Բ�ѯ
����ͼ�����ǹ�ϵ��ݿ����ڱ�����ݽṹ
����Ч����ߵİ취�Dz�����ݿ��Լ�ʵ��
�����ݹ�ģ�����Ǿͱ������ж�Ԫ��ϵ
����R1 -> R2 -> R3����������ΪR1->R2, R1->R3, R2->R3�����Ԫ��
�ж�R�Ƿ���R'����ʱһ�β�ѯ�͹���

�� �� caobo (��һ���񣬴����漣) �Ĵ������ᵽ: ��
: ���һ��Ȩ��ϵͳ��
: ���������Resource��Action��ResourceΪһ�����νṹ�����ڵ������Դ������
: �ڵ������Դ����ActionΪһ��������Ȧͼ��������һ����A��B��·������˵��A����
: �̺�B������
: ��һ��������Entitlement��ÿ��Entitlement��Ӧһ��Action��һ��Resource��
: Ŀ���Ǹ�һ��Entitlement��Resource��Action���жϾ��и�Entitlement���û��Ƿ���
: ���Ը�Resourceִ�и�Action���Ҿ�������SQL��ѯ��������ҪȨ������ɾ��Ȳ���
: �Լ��洢�������������
: Ӧ����ô�����ݿ��أ�


--
Debugging: Removing the needles from the haystack.

�� ��Դ:����ˮ˼Դ bbs.sjtu.edu.cn��[FROM: 110.174.147.180]
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads