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

ORA-00918: column ambiguously defined

I am getting error "ORA-00918: column ambiguously defined" while executing following query- SELECT ei.emp_name, ci.comp_name FROM comp_info ci INNER JOIN emp_info ei ON ci.comp_id = ei.comp_id WHERE...

View Article


DB2 SQL merge two rows into one row

Hi, I have a table with the following data: TABLEA CLI_ID ADR_TYP ADDRS CHNG_DATE PHONE =================================== A1 PR HYD 2010-01-01 123344 A1 PR MAS 2010-05-01 123EER A1 M HYD1 2010-02-01...

View Article


Dynamically Spool data within PL/SQL Block

I have a requirement as follows. I have a master table A that has 10+ columns along with data and a configuration table B that has only 2 columns i.e table name and column name. For ex:- Table A:- C1...

View Article

Oracle 11g client problem

Hi , I want to install 11g oracle client. I have encountered a problem.Problem related path error during the install application. After that I checked "ignore all" and I pressed "next" button finally...

View Article

need help!

HELLO PEOPLE, is this database relation correct for a video rent database: table: partner Idpartner primary key. name lastname phone Email movies table movieid primary key name stock rent table rentid...

View Article


JDBC driver for [WAS on AIX] to connect to [DB2 on zOS]

I think this is more of a WAS question, but I hope someone here can answer it. What we have is: WAS (WebSphere Application Server) running on AIX - connect to - DB2 z/OS. There is no DB2 LUW in the...

View Article

4D database as a linked server in MSSQL

I need to get access to a 4D database from MSSQL. I tried with this script, using an ODBC connection, with bad results: EXEC sp_addlinkedserver @server = 'yourLinkedDBName', @srvproduct = 'mydb.4db',...

View Article

Dbexpress runtime connect to Db2 strange error

[CODE=pas]'DriverUnit=Data.DBXDb2'#$D#$A' DriverPackageLoader=TDBXDynalinkDriverLoader,DBXCo mmonDriver160.bpl'#$D#$A' DriverAssemblyLoader=Borland.Data.TDBXDynalinkDriv...

View Article


DB2 and varchar

Please help! How i can read field varchar (1400) bit in DB2 i try dbExpress, SQLDirect methods - AsValue, AsWidestring, AsString - return empty fields

View Article


Select data with multiple NOT IN where class

Hi, Please can anyone help me with below sql query. I need to select data from a table based on multiple NOT IN where conditions For exmaple- From below table select Emp Id where Dept not in (D1,D2)...

View Article

Fast indexing and flat text search with Sphinx

The simple question is how to make fast indexing and get simple text search in 2-3 seconds with 2+GB database, 2GB of data / 200+ tables with complex permission system (Role based with granularity down...

View Article

One form to enter all data in mutiple tables

Hello I would like to create a form, that be used to enter data into multiple different tables. I would like to use tabs for each different table. Can this be done? Thanks in advance. :)

View Article

[VB] Username & Password an Access Database

I am doing some coursework which revolves around a database, I have pretty much everything done but I have to password protect the access database (For some reason, the built-in password protection of...

View Article


How to test if a login/user is member of an application role

In a VBA context, using a sql command or a script with osql or...? I have been doing this for a long time with the equivalent in MS Access - a custom function often referred as CurrentUserInGroup()....

View Article

Help With Entity Relation

Hi everyone. First of all, yes this is a homework question. I've tried working it out myself but alas here I am. Anyway. here goes. I have these 3 entities. Passenger, Company, Payment ----------...

View Article


Web Application using Jsp and Db2

Hello, I am developing a web application which there will be at least 3 types of users (Admin, Moderator, Operator, Companies, Users, etc..), what I want to do is a log-in page with user name and...

View Article

Image may be NSFW.
Clik here to view.

One Table but Two Forms?

I have used one Table (tblFinance) to record all my Income and Expenditure data. But, I think it would be best to have two Forms (one Form just to record income data, and a different Form just to...

View Article


Image may be NSFW.
Clik here to view.

Column and rows report

Hello, I linked crystal reports to Ms-Excel and later I need to prepare column and row type report .Please suggest how to do this , and also can we do some coding or use SQL in Crystal report pls...

View Article

Database Engine Design

I am going to be designing a database engine for a project. I am starting out with the design and am looking for some help with some pseudo code or something to help me better understand the best way...

View Article

SQL - Triggers

nothing interesting here Thanks

View Article
Browsing all 13329 articles
Browse latest View live