Pg views and sqlite views, patch from wreis
[dbsrgits/SQL-Translator.git] / t / 48xml-to-sqlite.t
index 3473824..f35846f 100644 (file)
@@ -62,9 +62,9 @@ CREATE TABLE Another (
 );
 
 
-CREATE VIEW email_list AS (
-    SELECT email FROM Basic WHERE email IS NOT NULL
-  );
+DROP VIEW IF EXISTS email_list;
+CREATE VIEW email_list AS
+    SELECT email FROM Basic WHERE email IS NOT NULL;
 
 
 COMMIT;