Update 03142_alter_comment_parameterized_view.sql

This commit is contained in:
Nikolay Degterinsky 2024-06-10 16:42:09 +02:00 committed by GitHub
parent 982b1e4102
commit 4ed0eaa3b0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,5 +1,5 @@
DROP TABLE IF EXISTS test_table_comment;
CREATE VIEW test_table_comment AS SELECT toString({date_from:String});
ALTER TABLE test_table_comment MODIFY COMMENT 'test comment';
SELECT create_table_query FROM system.tables WHERE name = 'test_table_comment';
SELECT create_table_query FROM system.tables WHERE name = 'test_table_comment' AND database = currentDatabase();
DROP TABLE test_table_comment;