Neer help connecting to db in 11g
Ok, this is what I have done I have virtualbox with a Windows XP pro as a virtual machine, I've installed Oracle 11g and setup a DB, and I can use Sql developer on it (the virtual os) but what Im tring...
View ArticleDB2 LOOP statement with cursor terminating early
I have a stored procedure in DB2 (iSeries V5R3M0) which opens a cursor and enters a loop statement. The loop fetches the next row from the input (work queue) table, processes the record, then deletes...
View ArticleHelp with databasae design?
Hey! I have to create a database according to the scenario given below. Can anyone please help me by explaining what entities and attributes should i include? and also help with designing it. Scenario:...
View Articlemy function called inside postgres.c
Hi everyone, I'm working on a project that require me to call my function inside the postegres.c, precisely in exec_simple_query. I wrote my function in a new file called test.c with the library...
View ArticleAbility for user to create a "custom" form during runtime.
I'm trying to puzzle a way to make this work. I'm not sure it's even possible and if it is, not easily done. But anyways here it is: The database I've been working on is a type of auditing software....
View ArticleQuery Works in 'Test Query' but not when used in the body of the program
I have a query that is not running like it should. Within this query, under 'Actions', I have checked the box that says "Execute a script for each record". The scripting that pertains to this is only...
View ArticleCounting in a report
Hello, I have a question, probably very simple but I have spent the last few hours trying to work this out but I can't seem to get it. I have three fields (datatype is number - i used number as I wish...
View ArticleDrop all tables that are empty in db
Hi, i have 650tables, i am trying to drop empty tables in a db here in phpmyadmin. Please help, anyone willing to help and share? Really appreciate it, Albert
View ArticleRandomly picked rows
Hi I need to get report with randomly picked rows. I have used select top 1000 order by RAND() but its not work... also doesnt work NEWID and RANDOM. Could you pls help me? Another question is randomly...
View ArticleUsing Data Pump From Java
Hallo Everybody, I am using Data Pump on Oracle 11.2 XE in Java over Pl/SQL. Is it possible to get Log information over the jdbc like a ResultSet or so? By default they are stored in Files on Server....
View ArticleFormat mask for DATETIME
Hi I have a datetime entry like: Code: 2013-02-24 19:00+04:00 How can I write the format mask for this? E.g., Code: SELECT TO_DATE('2013-02-24 19:00+04:00','YYYY-MM-DD HH24:MI ????') FROM DUAL Thanks...
View ArticleLong running queries
Environment: Single partitioned environment DB2 running on AIX 6.1 DB2 Version : 9.5 FP4 Is there any way to capture the applications [snapshot of applications] which are hitting database and are...
View Articlerestore pg_dump errors
I am getting the following errors while trying to restore a dump - ERROR: function echo_update_to_ser() does not exist ERROR: function echo_insert_to_ser() does not exist The strange part is that I see...
View ArticleMYSQL database linked in MS Access - slow response time
Hello I have successfully linked a MYSQL database into MS Access. But the response time in Access when opening or quering such a linked table is very slow. Is this a problem of MYSQL or Access ?...
View Articlehow to print the temp variable in informix sql
Hallo everybody, i am about to manage small DB, i want to make procedure that count the number of rows in a table , then i would like to print this value immediately .. the procedure is like : create...
View Articlepage size for tablespaces to create tables!!!!!
Good afternoon, I have several tables 150 and 300 million records and nose to assign page size tablespaces where I will create the tables and then do the load (eg 4K, 8K, 16K or 32K) my system is a...
View Articlehelp with adding unique column to union query
hello all, Let me first start this with saying that I'm very new to Access and SQL (Intern new) so please bare with me. The db which I was given was compiled of about 40 tables all from different...
View ArticleMerge multiple vba sub procedures into one
Hello All, would greatly appreciate some assistance with merging the following sub procderues into just one. Thanks! Private Sub Workbook_Open1() With Worksheets Sheet1 .Unprotect Password:="password"...
View ArticleCreating Query from Combo Box
I am very new to creating queries in access. I am trying to make a personnel tracking database and would like to use a drop down box to query which office someone works in, then have my last name combo...
View ArticleRecords repeat for SSRS 2005 report
When I run a report for a purchase order, the report duplicates records for product codes. For example the purchase order is: P000976, the report display the product code twice when it should only...
View Article