Question Sreeram Makam · Dec 4, 2019 Drop statement have check if exist first I am generating the DDL from a modeling tool - ERStudio. But the DDL has 2 issues right now. DROP TABLE schema_name. CASCADE CONSTRAINTS; The Constraints is not supported but works with the statement - DROP TABLE Study_Definition.EVENT_STORE CASCADE; Second if there is no object to drop, it throws an error, so is there a check like in sql server If_Exists that we can use in CacheDB? #Caché 0 1 0 240
Question Sreeram Makam · Oct 8, 2019 Cache DDL syntax to rename a Table Hi All, I am a Data Architect and am trying a method of deploying alter statements onto Cache DB. My Data Modeling tool generates alters as this.. So question is if the Cache has a way to rename table? If so what is it? ALTER TABLE <SchemaName>.GROUP_TYPE_NODES RENAME TO GROUP_TYPE_10082019140110000; This is giving error. #Beginner #Data Model #SQL #Caché 0 4 0 763