postgresql-8.3 Questions
17
Solved
How do I declare a variable for use in a PostgreSQL 8.3 query?
In MS SQL Server I can do this:
DECLARE @myvar INT;
SET @myvar = 5/
SELECT * FROM somewhere WHERE something = @myvar;
How do I do t...
Paprika asked 29/9, 2009 at 6:41
5
Solved
I am working on a Postgres 8.3 database. A query I use is meant to only select rows that are included in weekdays. Right now I have do do this by hand like in the example below but I want to transf...
Operon asked 4/3, 2013 at 20:56
3
Solved
I have a function in Postgres 8.3.5 that selects data from multiple tables and dumps the result in a single table:
create or replace function test_function_2(startdate timestamp, enddate timestamp...
Animality asked 3/5, 2013 at 13:17
3
Solved
This is a postgresql problem.
PostgreSQL 8.3.3 on i686-redhat-linux-gnu, compiled by GCC gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-9).
The table looks like:
date_time other_column
2012-11-01 00:0...
Kevinkevina asked 16/11, 2012 at 4:16
3
Solved
I have a table that stores two foreign keys, implementing a n:m relationship.
One of them points to a person (subject), the other one to a specific item.
Now, the amount of items a person may have...
Eparchy asked 17/1, 2012 at 9:14
1
© 2022 - 2024 — McMap. All rights reserved.