Jim_Knicely
Administrator
Jim_Knicely Administrator
Reactions
-
Re: How to search particular string in long varchar column?
Like this: dbadmin=> INSERT INTO t SELECT E'\xa0' || 'Test!' || E'\xa0'; OUTPUT-------- 1(1 row)dbadmin=> SELECT * FROM t; c----------- Some junk ▒Test!▒(2 rows)db… (View Post)1 -
Re: s3EXPORT_PARTITION
Not sure what you mean by "it parse a part of the data but not all the data"... Can you run this query without error? SELECT to_char(ts, 'YYYYMMDD')) from T; For your question &qu… (View Post)1 -
Re: s3EXPORT_PARTITION
Sure! Quick example: dbadmin=> \d T List of Fields by Tables Schema | Table | Column | Type | Size | Default | Not Null | Primary Key | Foreign Key--------+-------+--------+-----------+------+----… (View Post)2 -
Re: Need to retrieve particular string from all tables and get table names
Hi, Here's a Vertica Quick Tip that might help you out here: https://www.vertica.com/blog/finding-all-columns-storing-some-value-quick-tip/ And here is a slightly modified example to find any ta… (View Post)1 -
Re: Get largest tables in database
Maybe this is a simpler solution? SELECT schema_name, anchortablename AS anchor_table_name, MAX(row_count) row_count, MAX(size) size FROM (SELECT schema_name, projection_name, p.anchortablename, SUM(… (View Post)1

















