Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Browsing all 13329 articles
Browse latest View live

my first function

Hello all. I am new to PostgreSQL and trying to write my first function. I followed the samples in documentation and I wrote the function below: Code: CREATE OR REPLACE FUNCTION TEST() RETURNS TABLE...

View Article


Warning whie restoring tablespace .. anyone seen this?

We're using DB2 LUW 9.5 on Win Server 2003, and I'm trying to restore a database from one server to another. After the restore I ran a rollforward using the logs from the old server, and I ran into...

View Article


sybase dataserver filling up the Sun Audit log

How can I get the Sybase dataserver to stop writing to (filling up) the Sun Audit log? I am using Sybase ASE 15.0.3 on Sun Solaris. Is there a configuration that I can change? I have already tried...

View Article

Facing issue with the query..

Hi, I have the following data in my single table CHILD_ID PARENT_ID ASD0l12eds ASD0l12edn ASD0l58ppo ASD0l16uui ASD0l17jji ASD0l19nnk ASD0l12edm ASD0l12edn ASD0l19dds ASD0l12edn ASD0l16tdp ASD0l16uui...

View Article

Identify dependencies

How Can I come to know the dependent database object of one database to another database. For Example: table t1 is in ‘employee’ database having insert trigger in table t1 is using another database...

View Article


DB2 Sequence

Hi, DB2 9.7 FP 4 /WIN 2008 I am trying to workout a sequence question (found in a db2 book). can you give some explanation that how it works please? A sequence was created with the DDL statement shown...

View Article

Combo box: And / Or statement for Query criteria?

Trying to set up a combo box on a form and not sure if I can do what I want. I have a table [Work] that has two columns [Day of the Week] and [Sales] I have a query [Workaggregate] that aggregates the...

View Article

Joining four tables and calculating sums

Hi! I'm new to DB2 and has a query that I just can't get right I have four tables: Quote: t.Users ID | Name 1 | Eric 2 | Hans 3 | Eve t.Balance userID | orderID| Payment 1 | 100 | 1000 2 | 200 | 100 2...

View Article


How to load .sql scripts?

Hi, I have two files namely, departmentExamples.sql and classExample.sql as mentioned below. Could you tell me how would I load it into an oracle database instead of typing everything at the SQL PLUS...

View Article


Operand type clash: int is incompatible with date

I'm getting this error when trying to insert data into a table. "Operand type clash: int is incompatible with date" This is the SQL I used to create the table: Code: CREATE TABLE customers(...

View Article

Need help with a VBA msg box

I have on the close event this code Quote: DoCmd.GoToRecord , , acNext my form is simply a form for the user to enter the date they are going to be working with. I then append that date to a another...

View Article

Pb migrating database from Postgres 8.1 to 8.4

Hi all, I'm facing pbs trying to migrate my current database from Postgres 8.1 to 8.4. The way I proceed is as 'root' : su - postgres createuser -A -R -d -E my_user createdb --locale C --template...

View Article

Hello all.

Hey guys, I am Arsel from America,Just joined the site.Found a very impressive discussion board here. Decided to start my stuff with you guys.Expecting goo suggestions and ideas.

View Article


Health?

I was thinking it's a sub forum where we can discuss any general thing so why not health? A lot of people are active here so i want you guys to give me some opinions. What is your diet?Can you please...

View Article

Good news - email about bug fixes

Just got this: We have many letters concerning v10 release and fixing bugs as fast as we can (27 bugs are fixed, 13 left). The first update (10.1) will be published on April, 23. It already has a new...

View Article


SQL Developer help

Hey guys :) I need some simple help, I hope it is any way. I am just learning how to write scripts and I am having a problem. I need to: List the email addresses, first names, and last names for all...

View Article

Who knows the best way to Unload Clob and Load again

This is a real task from my practice: I have a table: Arch_MSG_tbl MSG_id INTEGER MSG_header VARCHAR(255) MSG_TMS TIMESTAMP MSG_INFO CLOB(500K) Every month I have to delete old records from this table,...

View Article


Beginner in Perl

Hello All, I am completely new to Perl , but i am very keen in understanding how it all works. I have a requirement wherein i will have a web page where my user will input the filter criteria , on...

View Article

SelectedIndex

I am going around in circles. Using JS to allow combo box to decide the background colour, (one of three) of a square. This is my .js file: The css file creates the box size and colours. I think the...

View Article

Unique index on 2 columns nullables

Hi All, I find to be able to have multiple NULL entries in the following constraint: Code: CREATE UNIQUE INDEX my_uidx ON my_table(my_col1,my_col2) WHERE ??? IS NOT NULL; But is not possible to check...

View Article
Browsing all 13329 articles
Browse latest View live