sync state

This commit is contained in:
2023-07-10 11:29:35 +02:00
parent ac6501bb42
commit cd9e3d7f82
26 changed files with 690 additions and 294 deletions

View File

@@ -0,0 +1,8 @@
USE [Gaia]
SELECT 'delete from ['+c.[TABLE_SCHEMA]+'].['+c.[TABLE_NAME]+'] where '+c.[COLUMN_NAME]+'=''G00000'' ;' AS query
FROM [INFORMATION_SCHEMA].[COLUMNS] c
WHERE [c].[TABLE_SCHEMA]='phar'
AND [c].[COLUMN_NAME] LIKE '%pharmacy_code'
;