Heh heh, I agree! But I'm trying to create some descriptive text to store in a table column, in that I want to store the degree symbol in the database column. The CHR(176) works perfect. Thanks!!!This is typically done at the presentation layer; not the database layer.
Search found 93 matches
- Tue Jun 16, 2015 3:01 am
- Forum: vSQL
- Topic: How to display the "degree" symbol?
- Replies: 3
- Views: 17196
Re: How to display the "degree" symbol?
- Tue Jun 16, 2015 2:58 am
- Forum: Vertica SQL Functions
- Topic: Is there an INT funtion in vertica?
- Replies: 2
- Views: 15308
Re: Is there an INT funtion in vertica?
Yeah, thanks Norbert! For some reason I thought I tried that function and observed rounding issues, so I was using the TRUNC function, like this: dbadmin=> SELECT FLOOR(4.56), TRUNC(4.56)::INT; FLOOR | TRUNC -------+------- 4 | 4 (1 row) The FLOOR function is obviously the better choice :)
- Sat Jun 13, 2015 9:49 pm
- Forum: vSQL
- Topic: How to display the "degree" symbol?
- Replies: 3
- Views: 17196
How to display the "degree" symbol?
How do I display the "degree" symbol in a vsql result set?
For example, like this for a temperature:
74°F
For example, like this for a temperature:
74°F
- Sat Jun 13, 2015 9:07 pm
- Forum: Vertica SQL Functions
- Topic: Is there an INT funtion in vertica?
- Replies: 2
- Views: 15308
Is there an INT funtion in vertica?
Hi,
Is there a function in Vertica like the INT function in Oracle?
Example INT(4.56) would be 4.
Thanks!
Is there a function in Vertica like the INT function in Oracle?
Example INT(4.56) would be 4.
Thanks!
- Wed May 27, 2015 12:43 pm
- Forum: vSQL
- Topic: Error: Could not send cancel request: PQcancel() -- connect() failed: No buffer space available
- Replies: 1
- Views: 26504
Error: Could not send cancel request: PQcancel() -- connect() failed: No buffer space available
Good morning,
Sometime when I try to cancel a running query in vsql, I get the following message:
Could not send cancel request: PQcancel() -- connect() failed: No buffer space available
Note, the query does cancel, but what does this error mean?
Sometime when I try to cancel a running query in vsql, I get the following message:
Could not send cancel request: PQcancel() -- connect() failed: No buffer space available
Note, the query does cancel, but what does this error mean?
- Fri May 15, 2015 5:10 pm
- Forum: New to Vertica Database Administration
- Topic: Unable to read database catalogs - cannot start database.
- Replies: 1
- Views: 7600
Unable to read database catalogs - cannot start database.
Hi,
I cannot start a DB:
Anyone know what the issue might be?
I cannot start a DB:
Code: Select all
[dbadmin@vertica ~]$ admintools -t start_db -d sales_db
Info: no password specified, using none
Unable to read database catalogs - cannot start database.
Database sales_db did not start successfully
- Fri Apr 03, 2015 11:20 am
- Forum: Vertica SQL
- Topic: How to handle NULL values and the NOT IN clause
- Replies: 5
- Views: 14092
Re: How to handle NULL values and the NOT IN clause
scutter, I got excited when I thought you were pointing me to a discussion about "General Hospital" But after reading through the discussion on why I am seeing the unexpected result with NOT IN and NULL, now makes sense to me. Thanks for letting me know about link!