Search found 732 matches

by id10t
Mon May 07, 2012 12:03 pm
Forum: Vertica Database Development
Topic: Delimiters other than Pipe and Tab
Replies: 15
Views: 33928

Re: Delimiters other than Pipe and Tab

Hi Raj!

Does it helps Loading UTF-8 Format Data?
by id10t
Sun May 06, 2012 7:46 pm
Forum: Vertica Database Development
Topic: Auto Increment Column
Replies: 5
Views: 26465

Re: Auto Increment Column

Hi Raj! What is a condition of rows numbering? Enumerating - it is kind of ordering. Does table has some order? Well defined problem is a half solution. If order is by insertion time - create timestamp column and enumerate by this column. [ example ] If order is by ORDER BY aColumn/s - create projec...
by id10t
Sun May 06, 2012 7:25 pm
Forum: New to Vertica
Topic: Set Identity_Insert ON/OFF
Replies: 3
Views: 11344

Re: Set Identity_Insert ON/OFF

Hi, Raj! What do you want? Enumerate on output? Look for function row_number() . Enumerate by insertion , so create timestamp column and... look fo row_number() over () . Table CREATE TABLE public.enumerate ( id timestamp NOT NULL, column1 varchar(80), column2 varchar(80) ); ALTER TABLE public.enume...
by id10t
Sat May 05, 2012 10:00 am
Forum: New to Vertica Database Administration
Topic: Change table column's data type
Replies: 10
Views: 28666

Re: Change table column's data type

Hi, Jim.

I'm afraid is not the end :-).
You didn't investigate a case with prejoin-projections ;-) Its a long story and bad idea (imho) modify column data type on production system (there are may be segments, buddy/prejoin-projections).
by id10t
Thu May 03, 2012 11:30 pm
Forum: New to Vertica Database Administration
Topic: Change table column's data type
Replies: 10
Views: 28666

Re: Change table column's data type

Hi, Beck.

If each Monday you need to change data type for some column so try to define data type "wide" as much it possible, i.e. instead INTEGER or FLOAT define NUMERIC type or VARCHAR, while in queries do casing. IMHO its a better solution than modifying column data type.
by id10t
Tue May 01, 2012 8:59 pm
Forum: Vertica Data Load
Topic: The COPY command supports wild cards!
Replies: 3
Views: 10446

Re: The COPY command supports wild cards!

Example: [*] Create data for example : test_db=> \! mkdir -p /tmp/vertica test_db=> \! echo -e "one\ntwo\nthree" > /tmp/vertica/data_01.txt test_db=> \! echo -e "one\ntwo\nthree" > /tmp/vertica/data_02.txt test_db=> \! echo -e "one\ntwo\nthree" > /tmp/vertica/data_03.txt test_db=> \! echo -e "one\nt...

Go to advanced search