Search found 16 matches

by sapir azulay
Sun Jun 30, 2013 9:37 am
Forum: Vertica SQL
Topic: How to edit select result without using update statment
Replies: 3
Views: 8175

Re: How to edit select result without using update statment

Hi, Thanks for your respond, I want to edit the data in the table. I can do it by this Updare statement: update Table_name set column_name=10 where.. But I want to be able to update manually while I'm looking the data In Oracle I used to use Toad Application, there when you write the select statemen...
by sapir azulay
Mon Jun 24, 2013 8:39 am
Forum: Vertica SQL
Topic: How to edit select result without using update statment
Replies: 3
Views: 8175

How to edit select result without using update statment

Hi all,
Is somebody know how can I edit some query result easily without using Update command?

In oracle I use it:
select r.*,rowid from dw_articles r where..


Thanks a lot!
by sapir azulay
Thu Jan 31, 2013 1:43 pm
Forum: Vertica SQL
Topic: Analyticts Functions Use Current Row Value
Replies: 4
Views: 14666

Analyticts Functions Use Current Row Value

Hi guys, I'm trying to use analytic function and use the current value. For Example: I'm trying to calculate for each day, how many people were charged on the same day payment based on the day number of the month they were ask for the service. (the day of payment cased on the day they asked for the ...
by sapir azulay
Mon Jan 07, 2013 12:11 pm
Forum: New to Vertica
Topic: MERGE Command
Replies: 11
Views: 29032

Re: MERGE Command

Hi sKwa,
I use Vertica docs but Unfortunately I did not found there the solution for this case,
If you know some good Vertica docs I will be glad to get a link

Thanks,
Sapir
by sapir azulay
Mon Jan 07, 2013 12:08 pm
Forum: New to Vertica
Topic: MERGE Command
Replies: 11
Views: 29032

Re: MERGE Command

Thanks knicely87! :) Love this solution
by sapir azulay
Thu Jan 03, 2013 9:35 am
Forum: New to Vertica
Topic: MERGE Command
Replies: 11
Views: 29032

Re: MERGE Command

Hi, First thnaks :) What I still don't know is how can I add to this query filter on the table witch I want to update. I want to do the update action only for some rows. In posrgress or oracle you may add this filter: .. WHEN MATCHED AND (test_merge.id <100) THEN .. In Vertica I don't know how to do...
by sapir azulay
Wed Jan 02, 2013 5:03 pm
Forum: New to Vertica
Topic: MERGE Command
Replies: 11
Views: 29032

Re: MERGE Command

Hi Guys, How can I use merge and filter on the first table? in postgres this is the syntax: MERGE INTO target [AS correlation-name] USING [table-ref | subquery] ON <search-condition> [WHEN MATCHED THEN MergeUpdate WHERE <where-clause> [/color]DELETE WHERE <where-clause>] [WHEN NOT MATCHED THEN Merge...

Go to advanced search