Hi foo,
The issue is occurring in version 5.0.11 of the Vertica database.
I'll open a ticket and let everyone know what I find out!
Thanks!
Search found 61 matches
- Wed Aug 08, 2012 12:32 am
- Forum: Vertica Error Codes
- Topic: Error: INTERNAL: VIAssert(list->length > 0) failed
- Replies: 4
- Views: 21853
- Tue Aug 07, 2012 3:19 pm
- Forum: Vertica SQL
- Topic: Conditional Mutli-Table Insert
- Replies: 2
- Views: 5780
Re: Conditional Mutli-Table Insert
Wow! That makes more sense! Thank you.
- Tue Aug 07, 2012 3:15 pm
- Forum: Vertica Error Codes
- Topic: Error: INTERNAL: VIAssert(list->length > 0) failed
- Replies: 4
- Views: 21853
Error: INTERNAL: VIAssert(list->length > 0) failed
Hi guys, I'm getting a weird error when trying to convert an integer sum to a float via the CAST command. This works: dbadmin=> SELECT d.dname, e.ename, e.sal, dbadmin-> round(sal / sum(cast(e.sal as float)) OVER (PARTITION BY e.dname),2) sal_dept_ratio dbadmin-> FROM emp e, dept d dbadmin-> WHERE e...
- Fri Aug 03, 2012 5:59 pm
- Forum: vSQL
- Topic: Display Null Query Result With an Alternate Text
- Replies: 2
- Views: 6608
Re: Display Null Query Result With an Alternate Text
Thanks, skwa! That's exactly what I needed!
- Fri Aug 03, 2012 2:26 pm
- Forum: Vertica SQL
- Topic: Conditional Mutli-Table Insert
- Replies: 2
- Views: 5780
Conditional Mutli-Table Insert
Hi, I'm converting some Oracle database code over to Vertica and was wondering if there is a conditional mutli-table insert option in Vertica? This is some sample code from Oracle: INSERT ALL WHEN 1 = 1 THEN INTO appt_hist VALUES (appt_id, app_date, app_status) WHEN app_status = 'CANCL' THEN INTO ap...
- Fri Aug 03, 2012 1:19 pm
- Forum: vSQL
- Topic: Display Null Query Result With an Alternate Text
- Replies: 2
- Views: 6608
Display Null Query Result With an Alternate Text
Hi, Is there a way that I can display a NULL result from a query as some sort of alternate text in vsql? Oracle has a feature in SQL*Plus where I type SET NULL = 'N/A' and from that point on all NULLs are replaced with the text 'N/A'. Example in Oracle: SQL> SET NULL = 'N/A' SQL> SELECT NULL mycol F...
- Fri Aug 03, 2012 1:11 pm
- Forum: Vertica SQL
- Topic: Display a number value in Words
- Replies: 13
- Views: 24944
Display a number value in Words
Good morning,
Is there a way that I can display a number in words in Vertica using SQL?
Examples...
10 as Ten
800 as Eight Hundred
1700 as One Thousand Seven Hundred
1250 as One Thousand Two Hundred Fifty
Thank you.
Is there a way that I can display a number in words in Vertica using SQL?
Examples...
10 as Ten
800 as Eight Hundred
1700 as One Thousand Seven Hundred
1250 as One Thousand Two Hundred Fifty
Thank you.