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

Is there any difference??

is there executional difference between the following two statements.im going to use this in before update tirgger. i want to preupdate employees table before update for each row..which one should i...

View Article


install DBI-Link on Postgresql - error

Hi, I want to install DBI-Link in Postgresql / Postgis. It's in a machine with OS Windows 64-bit . (I can not change that). As I understand I need to install first Active Perl on my machine, which I...

View Article


Changing office Colr Scheme VBA

I am trying to change the Office Color Scheme in VBA when the user first starts the application. I am not trying to change the theme of the current database, I want to change the color scheme - the...

View Article

How to return the number of selected rows from all queries performed on DB?

Recently I had an application developer approach me and asked if I could provided him with a list of sprocs by returned row count. We had an issue where the application passed in a number of parameters...

View Article

Trouble deleting data in VBA based on criteria

I've been stuck on one small item for awhile and it's driviing me nuts. In short, I want to run a delete query in VBA to delete records containing a billing month that's greater that a precalculated...

View Article


Text Search Within a Sentence (Possibly Verity?)

I am pretty sure there is a way to run a text search for words that are in the same sentence but can't seem to get the syntax right. I am working with Rapid SQL and trying to use a verity function...

View Article

very slow time to open recorsdet distinct

open connection Code: Public Sub CHECK_CONNESSIONE()     If CONN Is Nothing Then             Set CONN = New ADODB.Connection             With CONN                 .ConnectionString =...

View Article

DB2 AS400 iSeries error message CPF4204 typquery with CTE from...

I am trying to understand how common table expressions (CTEs) I am trying to figure out why I am getting errors related to the following: Details: ADO Error Code: 0x Source: IBMDA400 Command...

View Article


How to represent maximum number of books borrowed at the same time through a...

Hi everybody, I have to build a database model, create tables and use triggers or/and procedures on it. It's about a library. Books are borrowed by students. They can make a reservation of a book. I...

View Article


I need help selecting records in table a that are not in table b

I need to select the records that are in table_a but not in table_b, the thing is that I also need to select the records in table_a that dont have birthdate and the records on table_b that doesnt have...

View Article

DB link to sql server (Hs_dblink) connectivity issue

Hi, Need to create a dblink to sqlserver , I have updated the tnsname.ora, listner.ora and init<DSNname>.ora file . restarted the listner.ora but i am receiving the below error while doing a...

View Article

update query

hi, i have a select query with four table its generating around 650 rows. and i need to update these 650 rows only. for example update ps_po_lining b set y.recv_req = 'N' where recv_req in (Select...

View Article

Problems (annoyed) with the scroll button on the mouse!!!

I need some help i have a form where i insert data. This form is for inserting data only. But when i use the scroll button on the mouse it go's to the previous or next records, there fore i want to...

View Article


Image may be NSFW.
Clik here to view.

Formula to sum through a specified year

Hello all, I'm sure this has been posted before be was not able to find any prior threads. Attached is an example data file. What i'm trying to accomplish is located on sheet2. Sheet 2 contains two...

View Article

SQL query trouble

Hello everyone! I have a little problem that I am having trouble figuring out. In my Access database, I have a table of customers. The fields are as follows: FirstName | LastName | Address | City |...

View Article


Assistance setting table relationships.

I've managed to back myself into a corner with my table structure. Initially I really didn't need relationships but I find myself wishing I had set them earlier. (Probably an amateur mistake, but good...

View Article

Noob question about FKs

Hi all! I'm having some trouble with a MySQL query. I have two tables: the A table containing clients' information and the B table containing information about cities. A client may have been linked to...

View Article


problem with count and sum

Hello. I have some difficulty when I use the following query. I have a problem with count and sum. The joins are all correct. Quote: select s.id, s.PromoTitle, count(distinct sc.id), sum(trx.amount)...

View Article

Replication question: Syncing primary and secondary databases without using...

Hi people, I am new to Sybase replication. I tried using rs_subcmp for comparing the records(without reconcile option) and for a 1GB table it took me more than an hour's time to get the output. Please...

View Article

OUI_LOC is not correctly set.. the path doesn't contain runInstaller or .oui...

Dear all, Greetings! I have failed to install oracle on centos 6.3, getting OUI_LOC is not correctly set.. I have search web but not getting clue... please suggest me something... Thank you in advance....

View Article
Browsing all 13329 articles
Browse latest View live