Foreign key error

Hi everyone,

I need to convert this codes to in memory optimized one.However,I'm figured out.Can you help me, please?

ALTER TABLE [dbo].[XPWeakReference]  WITH NOCHECK ADD  CONSTRAINT [FK_XPWeakReference_ObjectType] FOREIGN KEY([ObjectType])
REFERENCES [dbo].[XPObjectType] ([OID])
NOT FOR REPLICATION 
GO

ALTER TABLE [dbo].[XPWeakReference] CHECK CONSTRAINT [FK_XPWeakReference_ObjectType]

  • Edited by Ceakn 41 minutes ago correction
August 31st, 2015 2:04am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics