請問如何修改表與表之間的關係(請一級高手幫忙). (100分)

  • 主题发起人 alextsui
  • 开始时间
A

alextsui

Unregistered / Unconfirmed
GUEST, unregistred user!
請問如何把一個ACCESS裡面兩張表之間的關係去掉, 要求通過SQL語句來實現,
在Delphi裡面用ADOQuery修改, 產品已經出去了, 因為客戶需要增加一個功能,
現在要寫這個補丁, 請各位幫幫忙啊, 多謝大家了.
 
沒有人幫助我嗎, ~~~>_<~~~
 
select s1 = o.name, s2 = user_name(o.uid),o.crdate,o.id,
N'SystemObj' = (case when (OBJECTPROPERTY(o.id, N'IsMSShipped')=1)
then 1 else OBJECTPROPERTY(o.id, N'IsSystemTable') end),
o.category, 0, ObjectProperty(o.id, N'TableHasActiveFulltextIndex'),
ObjectProperty(o.id, N'TableFulltextCatalogId'), N'
FakeTable' = (case when (OBJECTPROPERTY(o.id, N'tableisfake')=1)
then 1 else 0 end), (case when (OBJECTPROPERTY(o.id, N'IsQuotedIdentOn')
=1) then 1 else 0 end), (case when (OBJECTPROPERTY(o.id, N'IsAnsiNullsOn')=1)
then 1 else 0 end) from dbo.sysobjects o, dbo.sysindexes i
where OBJECTPROPERTY(o.id, N'IsTable') = 1 and i.id = o.id and i.indid < 2
and o.name not like N'#%' and o.id = object_id(N'[dbo].[tksqmlb]') order
by s1, s2
 
To smallsun007:
能解釋一下這條SQL語句嗎? 還有怎麼用的? 謝謝.
 
若不用编程
到access中的关系视图修改“工具-〉关系”
如果你知道,怪我多嘴
 
UP, 請大家來幫忙啊.
 
To Xelloss: 如何實現, 請寫出來, 多謝了.
 
顶部