Why always when i load data infile it appears with null
↧
Baloyi
↧
complex events in mysql
i hav a student_class table containing id,student_id,class,year
i want after every year to add a new row containing id,student_id,class+1 and year+1, and for row having class=4 to stop adding the new row.
i tried something like this but i don get the result i want.
SET GLOBAL event_scheduler = ON;
CREATE EVENT increment_student_form
ON SCHEDULE
STARTS '2013-03-22 11:45:00'
EVERY 1 YEAR
DO
$students=array();
$class=array();
$stud=select * from student_class where class<4;
$row=mysql_fetch_array($stud);
$students[]=$row['student_id'];
$class[]=$row['class'];
for($i=0;$i<sizeof($students);$i++){
INSERT into student class(id,student_id,class,year) values('','$student[i]','$class[i]+1','$year+1')
}
i want after every year to add a new row containing id,student_id,class+1 and year+1, and for row having class=4 to stop adding the new row.
i tried something like this but i don get the result i want.
SET GLOBAL event_scheduler = ON;
CREATE EVENT increment_student_form
ON SCHEDULE
STARTS '2013-03-22 11:45:00'
EVERY 1 YEAR
DO
$students=array();
$class=array();
$stud=select * from student_class where class<4;
$row=mysql_fetch_array($stud);
$students[]=$row['student_id'];
$class[]=$row['class'];
for($i=0;$i<sizeof($students);$i++){
INSERT into student class(id,student_id,class,year) values('','$student[i]','$class[i]+1','$year+1')
}
↧
↧
Need help on a sql script
Hi I'm working on a MySql script for a software I'm developing on a school project, however I'm not particulary familiar with MySql databases.
But I keep getting issues with the database. since the entities are in norwegian it is quite simply the sqp code I need some help with.
Remember this is just a draft for the script all entities are not finalized.
Right now I keep getting this errorcode
<</* ** Legger inn gyldige data i tabellene */ INSERT INTO SunnCateringAS
VALUES (
'1337', 'Sunn Catering AS', 'Cateringveien 2', '80081351', '0001'
);
MySQL sa:
#1452 - Cannot add or update a child row: a foreign key constraint fails (`kjetinb`.`SunnCateringAS`, CONSTRAINT `SunnCateringAS_ibfk_1` FOREIGN KEY (`Postnr`) REFERENCES `Sted` (`Postnr`)) >>
script start
/*
** objektorientert-script-mysql.txt
/*
** DROP TABLE-setninger som sletter gamle tabeller
*/
DROP TABLE IF EXISTS SunnCateringAS;
DROP TABLE IF EXISTS Kunder;
DROP TABLE IF EXISTS Bestillinger;
DROP TABLE IF EXISTS Sted;
DROP TABLE IF EXISTS Ansatte;
DROP TABLE IF EXISTS Avdeling;
/*
** Oppretter tabeller med entitetsintegritet
*/
CREATE TABLE SunnCateringAS
(
Org_Nr INT UNSIGNED NOT NULL AUTO_INCREMENT,
Firma_navn VARCHAR(50),
adresse VARCHAR(50),
telefon INT(50),
Postnr INT(50) UNSIGNED,
PRIMARY KEY(Org_Nr)
)TYPE=INNODB;
CREATE TABLE Kunder
(
Kunde_id INT UNSIGNED NOT NULL AUTO_INCREMENT,
Navn VARCHAR(50),
Telefon INT(50),
Ordre_Id INT(50) UNSIGNED,
Epost VARCHAR(50),
Allergier VARCHAR(50),
PRIMARY KEY(Kunde_id)
)TYPE=INNODB;
CREATE TABLE Bestillinger
(
Ordre_Id INT UNSIGNED NOT NULL AUTO_INCREMENT,
Forhaandsbestillinger VARCHAR(50),
Direktebestillinger VARCHAR(50),
Spesialbestillinger VARCHAR(50),
Pakkelosninger VARCHAR(50),
Tilbud VARCHAR(50),
PRIMARY KEY(Ordre_id)
)TYPE=INNODB;
CREATE TABLE Sted
(
Postnr INT UNSIGNED NOT NULL,
Post_Sted VARCHAR(50),
PRIMARY KEY(Postnr)
)TYPE=INNODB;
CREATE TABLE Ansatte
(
Ansatt_id INT UNSIGNED NOT NULL AUTO_INCREMENT,
Avd_id INT(50) UNSIGNED,
Navn VARCHAR(50),
Telefon INT(50),
Epost VARCHAR(50),
PRIMARY KEY(Ansatt_id)
)TYPE=INNODB;
CREATE TABLE Avdeling
(
Avd_id INT(8) UNSIGNED NOT NULL,
PRIMARY KEY(Avd_Id)
)TYPE=INNODB;
/*
** Legger paa referanseintegritet (fremmednoekler)
*/
ALTER TABLE Ansatte
ADD FOREIGN KEY(Avd_id)REFERENCES Avdeling(Avd_id);
ALTER TABLE Kunder
ADD FOREIGN KEY(Ordre_Id)REFERENCES Bestillinger(Ordre_Id);
ALTER TABLE SunnCateringAS
ADD FOREIGN KEY(Postnr)REFERENCES Sted(Postnr);
/*
** Legger inn gyldige data i tabellene
*/
INSERT INTO SunnCateringAS VALUES('1337','Sunn Catering AS','Cateringveien 2','80081351','0001');
INSERT INTO SunnCateringAS VALUES('1014','Catering Sunn AS','Sunnveien 2','73530302','0002');
INSERT INTO Kunder VALUES('1','Hilde Hildurson','45859565','1','mumihilde91@gmail.com', 'Ingen');
INSERT INTO Kunder VALUES('2','Kathrine Kathrineson','16468696','2','mumikathrine92@hotmai l.com','Gluten allergi');
INSERT INTO Kunder VALUES('3','Juba Jubalai','87986321','3','bublabai@online.no','Sjok oladeallergi');
INSERT INTO Kunder VALUES('4','Kjetil Superson','99773762','4','jokki_pallanoit@samtinge t.sa','Fiskeallergi');
INSERT INTO Bestillinger VALUES('1','Ja','Nei','Ingen','Nei','30%rabatt');
INSERT INTO Bestillinger VALUES('2','Nei','Ja','Glutenallergi','Nei','Nei') ;
INSERT INTO Bestillinger VALUES('3','Ja','Nei','Sjokoladeallergi','Ja','50% rabatt');
INSERT INTO Bestillinger VALUES('4','Nei','Ja','Fiskeallergi','Ja','Nei');
INSERT INTO Sted VALUES(7053,'Ranheim');
INSERT INTO Sted VALUES(7054,'Ranheim');
INSERT INTO Sted VALUES(7043,'Tyholt');
INSERT INTO Sted VALUES(7041,'Trondheim');
INSERT INTO Ansatte VALUES('41','3','Kokk Kokkesen','98574822','k.kokkesen@sunn.no');
INSERT INTO Ansatte VALUES('14','3','Lokk Kokkelure','99554521','l.kokkelure@sunn.no');
INSERT INTO Ansatte VALUES('44','3','Spock Matomnom','95784521','s.matomnom@sunn.no');
INSERT INTO Ansatte VALUES('1','1','Leder Sjefsen','99889988','l.sjefsen@sunn.no');
INSERT INTO Ansatte VALUES('2','2','Sekretær Hjelpesdottir','98745622','s.hjelpesdottir@sunn.no ');
INSERT INTO Ansatte VALUES('3','4','Svein Olgt','98554422','s.olgt@sunn.no');
INSERT INTO Ansatte VALUES('4','4','Kari Selgerino','94651235','k.selgerino@sunn.no');
INSERT INTO Ansatte VALUES('5','4','Billeba Trivelig','99453521','b.trivelig@sunn.no');
INSERT INTO Avdeling VALUES('1');
INSERT INTO Avdeling VALUES('2');
INSERT INTO Avdeling VALUES('3');
INSERT INTO Avdeling VALUES('4');
/*
** Avslutter transaksjonen og lagrer tabellene og data fysisk i databasen
*/
COMMIT;
script end
I would really appriciate some help:)
best regards Ashley
But I keep getting issues with the database. since the entities are in norwegian it is quite simply the sqp code I need some help with.
Remember this is just a draft for the script all entities are not finalized.
Right now I keep getting this errorcode
<</* ** Legger inn gyldige data i tabellene */ INSERT INTO SunnCateringAS
VALUES (
'1337', 'Sunn Catering AS', 'Cateringveien 2', '80081351', '0001'
);
MySQL sa:
#1452 - Cannot add or update a child row: a foreign key constraint fails (`kjetinb`.`SunnCateringAS`, CONSTRAINT `SunnCateringAS_ibfk_1` FOREIGN KEY (`Postnr`) REFERENCES `Sted` (`Postnr`)) >>
script start
/*
** objektorientert-script-mysql.txt
/*
** DROP TABLE-setninger som sletter gamle tabeller
*/
DROP TABLE IF EXISTS SunnCateringAS;
DROP TABLE IF EXISTS Kunder;
DROP TABLE IF EXISTS Bestillinger;
DROP TABLE IF EXISTS Sted;
DROP TABLE IF EXISTS Ansatte;
DROP TABLE IF EXISTS Avdeling;
/*
** Oppretter tabeller med entitetsintegritet
*/
CREATE TABLE SunnCateringAS
(
Org_Nr INT UNSIGNED NOT NULL AUTO_INCREMENT,
Firma_navn VARCHAR(50),
adresse VARCHAR(50),
telefon INT(50),
Postnr INT(50) UNSIGNED,
PRIMARY KEY(Org_Nr)
)TYPE=INNODB;
CREATE TABLE Kunder
(
Kunde_id INT UNSIGNED NOT NULL AUTO_INCREMENT,
Navn VARCHAR(50),
Telefon INT(50),
Ordre_Id INT(50) UNSIGNED,
Epost VARCHAR(50),
Allergier VARCHAR(50),
PRIMARY KEY(Kunde_id)
)TYPE=INNODB;
CREATE TABLE Bestillinger
(
Ordre_Id INT UNSIGNED NOT NULL AUTO_INCREMENT,
Forhaandsbestillinger VARCHAR(50),
Direktebestillinger VARCHAR(50),
Spesialbestillinger VARCHAR(50),
Pakkelosninger VARCHAR(50),
Tilbud VARCHAR(50),
PRIMARY KEY(Ordre_id)
)TYPE=INNODB;
CREATE TABLE Sted
(
Postnr INT UNSIGNED NOT NULL,
Post_Sted VARCHAR(50),
PRIMARY KEY(Postnr)
)TYPE=INNODB;
CREATE TABLE Ansatte
(
Ansatt_id INT UNSIGNED NOT NULL AUTO_INCREMENT,
Avd_id INT(50) UNSIGNED,
Navn VARCHAR(50),
Telefon INT(50),
Epost VARCHAR(50),
PRIMARY KEY(Ansatt_id)
)TYPE=INNODB;
CREATE TABLE Avdeling
(
Avd_id INT(8) UNSIGNED NOT NULL,
PRIMARY KEY(Avd_Id)
)TYPE=INNODB;
/*
** Legger paa referanseintegritet (fremmednoekler)
*/
ALTER TABLE Ansatte
ADD FOREIGN KEY(Avd_id)REFERENCES Avdeling(Avd_id);
ALTER TABLE Kunder
ADD FOREIGN KEY(Ordre_Id)REFERENCES Bestillinger(Ordre_Id);
ALTER TABLE SunnCateringAS
ADD FOREIGN KEY(Postnr)REFERENCES Sted(Postnr);
/*
** Legger inn gyldige data i tabellene
*/
INSERT INTO SunnCateringAS VALUES('1337','Sunn Catering AS','Cateringveien 2','80081351','0001');
INSERT INTO SunnCateringAS VALUES('1014','Catering Sunn AS','Sunnveien 2','73530302','0002');
INSERT INTO Kunder VALUES('1','Hilde Hildurson','45859565','1','mumihilde91@gmail.com', 'Ingen');
INSERT INTO Kunder VALUES('2','Kathrine Kathrineson','16468696','2','mumikathrine92@hotmai l.com','Gluten allergi');
INSERT INTO Kunder VALUES('3','Juba Jubalai','87986321','3','bublabai@online.no','Sjok oladeallergi');
INSERT INTO Kunder VALUES('4','Kjetil Superson','99773762','4','jokki_pallanoit@samtinge t.sa','Fiskeallergi');
INSERT INTO Bestillinger VALUES('1','Ja','Nei','Ingen','Nei','30%rabatt');
INSERT INTO Bestillinger VALUES('2','Nei','Ja','Glutenallergi','Nei','Nei') ;
INSERT INTO Bestillinger VALUES('3','Ja','Nei','Sjokoladeallergi','Ja','50% rabatt');
INSERT INTO Bestillinger VALUES('4','Nei','Ja','Fiskeallergi','Ja','Nei');
INSERT INTO Sted VALUES(7053,'Ranheim');
INSERT INTO Sted VALUES(7054,'Ranheim');
INSERT INTO Sted VALUES(7043,'Tyholt');
INSERT INTO Sted VALUES(7041,'Trondheim');
INSERT INTO Ansatte VALUES('41','3','Kokk Kokkesen','98574822','k.kokkesen@sunn.no');
INSERT INTO Ansatte VALUES('14','3','Lokk Kokkelure','99554521','l.kokkelure@sunn.no');
INSERT INTO Ansatte VALUES('44','3','Spock Matomnom','95784521','s.matomnom@sunn.no');
INSERT INTO Ansatte VALUES('1','1','Leder Sjefsen','99889988','l.sjefsen@sunn.no');
INSERT INTO Ansatte VALUES('2','2','Sekretær Hjelpesdottir','98745622','s.hjelpesdottir@sunn.no ');
INSERT INTO Ansatte VALUES('3','4','Svein Olgt','98554422','s.olgt@sunn.no');
INSERT INTO Ansatte VALUES('4','4','Kari Selgerino','94651235','k.selgerino@sunn.no');
INSERT INTO Ansatte VALUES('5','4','Billeba Trivelig','99453521','b.trivelig@sunn.no');
INSERT INTO Avdeling VALUES('1');
INSERT INTO Avdeling VALUES('2');
INSERT INTO Avdeling VALUES('3');
INSERT INTO Avdeling VALUES('4');
/*
** Avslutter transaksjonen og lagrer tabellene og data fysisk i databasen
*/
COMMIT;
script end
I would really appriciate some help:)
best regards Ashley
↧
Update specific position - Char null field !
Hello,
I'd like ask help for this community about a problem to insert a text in a column char field.
The field can be filled with null or with some data, for this reason I can't use substr (in case null or incomplete information, the substr won't return any information to concate and back data to field).
Ex:
Case 1
Field
<null>
Case 2
'a12kok'
Well I need insert information at position 30 ! Both case, I haven't information in position 30, so the final result must be:
Case 1
'*****************************insered'
Case 2
'a12kok***********************insered'
The two examples has 29 characteres, before the text insered ! (imagine * is a blank caracter)
In case 2, we preserved the information 'a12kok'.
Well, I really don't know how to do this, because I did'nt find a function to "insert" a text in a char column !
Could please anyone give me one way ?
Thanks !
Fernando.
I'd like ask help for this community about a problem to insert a text in a column char field.
The field can be filled with null or with some data, for this reason I can't use substr (in case null or incomplete information, the substr won't return any information to concate and back data to field).
Ex:
Case 1
Field
<null>
Case 2
'a12kok'
Well I need insert information at position 30 ! Both case, I haven't information in position 30, so the final result must be:
Case 1
'*****************************insered'
Case 2
'a12kok***********************insered'
The two examples has 29 characteres, before the text insered ! (imagine * is a blank caracter)
In case 2, we preserved the information 'a12kok'.
Well, I really don't know how to do this, because I did'nt find a function to "insert" a text in a char column !
Could please anyone give me one way ?
Thanks !
Fernando.
↧
JDBC DB2 Connection does not respond
Hi,
I am trying to connect IBM Mainframe DB2 8.1 database using Eclipse
application class through JDBC db2 type 4 universal driver. this is the
following code of the DB2Connection.java
import java.sql.Connection;
import java.sql.SQLException;
public class DB2Connection {
public static void main(String[] argv) {
Connection conn = null;
PreparedStatement pstmt = null;
ResultSet rset=null;
boolean found=false;
try {
Class.forName("com.ibm.db2.jcc.DB2Driver");
System.out.println("DB2 driver is loaded successfully");
conn = DriverManager.getConnection("jdbc:db2://220.227.139.118:23
/TWSDB","tws0001","mar2013");
if (conn != null)
{
System.out.println("DB2 Database Connected");
}else{
System.out.println("Db2 connection Failed ");
}
} catch (Exception e) {
System.out.println("DB2 Database connection Failed");
e.printStackTrace();
}finally{
try {
if(conn!=null){
conn.close();
}
} catch (SQLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
}
}
DB2 driver is loaded successfully
after the above message
I got the following exception
DB2 Database connection Failed
com.ibm.db2.jcc.am.yn: [jcc][t4][2030][11211][3.57.82] A communication error occurred during operations on the connection's underlying socket, socket input stream,
or socket output stream. Error location: Reply.fill(). Message: Read timed out. ERRORCODE=-4499, SQLSTATE=08001
at com.ibm.db2.jcc.am.bd.a(bd.java:319)
at com.ibm.db2.jcc.t4.a.a(a.java:365)
at com.ibm.db2.jcc.t4.a.a(a.java:360)
at com.ibm.db2.jcc.t4.ab.b(ab.java:202)
at com.ibm.db2.jcc.t4.ab.c(ab.java:243)
at com.ibm.db2.jcc.t4.ab.c(ab.java:354)
at com.ibm.db2.jcc.t4.ab.v(ab.java:1139)
at com.ibm.db2.jcc.t4.bb.a(bb.java:42)
at com.ibm.db2.jcc.t4.b.m(b.java:1240)
at com.ibm.db2.jcc.t4.b.b(b.java:1114)
at com.ibm.db2.jcc.t4.b.c(b.java:701)
at com.ibm.db2.jcc.t4.b.b(b.java:687)
at com.ibm.db2.jcc.t4.b.a(b.java:374)
at com.ibm.db2.jcc.t4.b.<init>(b.java:310)
at com.ibm.db2.jcc.DB2SimpleDataSource.getConnection( DB2SimpleDataSource.java:214)
at com.ibm.db2.jcc.DB2Driver.connect(DB2Driver.java:2 24)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at com.ford.gaps.dao.DB2Connection.main(DB2Connection .java:34)
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(Unknown Source)
at com.ibm.db2.jcc.t4.ab.b(ab.java:195)
... 15 more
I closed the connection properly in the finally block,so some other thing
that would not allow to connect DB2 on mainframe.
Can anybody share your points here?
Thanks and regards,
Ramesh K
I am trying to connect IBM Mainframe DB2 8.1 database using Eclipse
application class through JDBC db2 type 4 universal driver. this is the
following code of the DB2Connection.java
import java.sql.Connection;
import java.sql.SQLException;
public class DB2Connection {
public static void main(String[] argv) {
Connection conn = null;
PreparedStatement pstmt = null;
ResultSet rset=null;
boolean found=false;
try {
Class.forName("com.ibm.db2.jcc.DB2Driver");
System.out.println("DB2 driver is loaded successfully");
conn = DriverManager.getConnection("jdbc:db2://220.227.139.118:23
/TWSDB","tws0001","mar2013");
if (conn != null)
{
System.out.println("DB2 Database Connected");
}else{
System.out.println("Db2 connection Failed ");
}
} catch (Exception e) {
System.out.println("DB2 Database connection Failed");
e.printStackTrace();
}finally{
try {
if(conn!=null){
conn.close();
}
} catch (SQLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
}
}
DB2 driver is loaded successfully
after the above message
I got the following exception
DB2 Database connection Failed
com.ibm.db2.jcc.am.yn: [jcc][t4][2030][11211][3.57.82] A communication error occurred during operations on the connection's underlying socket, socket input stream,
or socket output stream. Error location: Reply.fill(). Message: Read timed out. ERRORCODE=-4499, SQLSTATE=08001
at com.ibm.db2.jcc.am.bd.a(bd.java:319)
at com.ibm.db2.jcc.t4.a.a(a.java:365)
at com.ibm.db2.jcc.t4.a.a(a.java:360)
at com.ibm.db2.jcc.t4.ab.b(ab.java:202)
at com.ibm.db2.jcc.t4.ab.c(ab.java:243)
at com.ibm.db2.jcc.t4.ab.c(ab.java:354)
at com.ibm.db2.jcc.t4.ab.v(ab.java:1139)
at com.ibm.db2.jcc.t4.bb.a(bb.java:42)
at com.ibm.db2.jcc.t4.b.m(b.java:1240)
at com.ibm.db2.jcc.t4.b.b(b.java:1114)
at com.ibm.db2.jcc.t4.b.c(b.java:701)
at com.ibm.db2.jcc.t4.b.b(b.java:687)
at com.ibm.db2.jcc.t4.b.a(b.java:374)
at com.ibm.db2.jcc.t4.b.<init>(b.java:310)
at com.ibm.db2.jcc.DB2SimpleDataSource.getConnection( DB2SimpleDataSource.java:214)
at com.ibm.db2.jcc.DB2Driver.connect(DB2Driver.java:2 24)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at com.ford.gaps.dao.DB2Connection.main(DB2Connection .java:34)
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(Unknown Source)
at com.ibm.db2.jcc.t4.ab.b(ab.java:195)
... 15 more
I closed the connection properly in the finally block,so some other thing
that would not allow to connect DB2 on mainframe.
Can anybody share your points here?
Thanks and regards,
Ramesh K
↧
↧
text from combo box
I have combo box in my form which have 2 columns "value" and "text" but "value" is hidden.
I write some code in VBA and I need select only "text" from my combo box, how can I do it using VBA?
I write some code in VBA and I need select only "text" from my combo box, how can I do it using VBA?
↧
Update Visual Foxpro dbf with Access
I am wanting to update inventory records in a dbf file with MS Access. This file is from our Inventory Management software however the sofware isn't very conducive to edit records in mass like it would be in a spreadsheet type format that Access could provide. I made a connection with the foxpro ODBC driver and can view and make queries. However, when I edit a record in Access it doesn't reflect the change when viewed within the software. The strange thing is that when I open the Access link again to that inventory.dbf file it still has the change present that I made. I'm not sure what is going on. Also, I've noticed that as soon as I open the inventory item page within the software the inventory.dbf file's modified date will update to the current time but I don't know what it is writing since when I open the access link again it still shows my change okay. Perhaps it has a cache or reading another file I don't know about. If anybody has any suggestions I would appreciate it.
thanks!
thanks!
↧
Temp Tablespace is getting full
Hi all
I am trying to update partitioned table in db2 v9.7 fp 3 using datastage
ADM6017E The table space "TSTEMP_32" (ID "4") is full. Detected on
container "/misnbtdb/temp/temp_32K" (ID "0"). The underlying file
system is full or the maximum allowed space usage for the file system
has been reached. It is also possible that there are user limits in
place with respect to maximum file size and these limits have been
reached.
Any body have any idea . Why it is getting filled up ..
it is consuming 105gb space and getting fail . On working envoirment it is consuming only 4 gb temp teblespace . Even No success after running RUNSTATS WITH DISTRIBUTION AND DETAILED INDEXES . Explain plans ,indexes , configurations are same in failed and working envoirment .
working envoirment where we are running query directly on db2 database . And failed evnoirment is where we are running the query using DATASTAGE .
Any sugestion ?
I am trying to update partitioned table in db2 v9.7 fp 3 using datastage
ADM6017E The table space "TSTEMP_32" (ID "4") is full. Detected on
container "/misnbtdb/temp/temp_32K" (ID "0"). The underlying file
system is full or the maximum allowed space usage for the file system
has been reached. It is also possible that there are user limits in
place with respect to maximum file size and these limits have been
reached.
Any body have any idea . Why it is getting filled up ..
it is consuming 105gb space and getting fail . On working envoirment it is consuming only 4 gb temp teblespace . Even No success after running RUNSTATS WITH DISTRIBUTION AND DETAILED INDEXES . Explain plans ,indexes , configurations are same in failed and working envoirment .
working envoirment where we are running query directly on db2 database . And failed evnoirment is where we are running the query using DATASTAGE .
Any sugestion ?
↧
Senior Hyperion HFM Consultant - FT job - relocation not required
A full-time position is currently available for senior Hyperion HFM Consultant. Relocation is not required but the successful applicant needs to live near a major airport.
(Note: we expect two additional openings in the near future, one for a Senior Essbase Architect, and one for a Senior Hyperion Project Manager who lives on the East Coast no additional details yet available.)
The hiring company, an Oracle Platinum Certified Partner in business since 1997, is recognized as one of the fastest growing companies three years running, a recognized industry leader, Oracles 1st recipient as EPM Solution Partner of the year (which was awarded a 2nd year), and one for whom we have placed several Hyperion professionals over the past 15 years.
All those we have placed with this company speak very highly of the quality of life, family-oriented environment, friendliness, support and training, openness and honesty. You will be hard-pressed to find a better run company whose principals truly care for the well-being of their staff as well as their clients. I can also assure you the company is very well known within the Hyperion community.
While the company works to minimize travel (including coordinating some work to be performed off-site), the qualified candidate should expect to travel up to 80%.
Compensation is based on qualifications and experience. The package includes utilization bonus and benefits. The company highly encourages and offers substantial training services on the Oracle/Hyperion products, which includes certification-specific training for staff and clients.
For interested and qualified applicants, please ensure your contact information includes the city/state in which you currently reside, e-mail address, and phone number.
Qualifications required:
Expert knowledge of designing HFM applications, and building business rules.
Should have an understanding / working knowledge of other products such as OBIEE, DRM, ODI, and/or FDM
Experience with the latest versions of the product (11.1.21 or 11.1.2.2).
U.S. legal resident or U.S. citizen. Visa sponsorship is not currently being offered.
Oracle/Hyperion Certifications highly desirable
Bachelor or Masters Degree
Finance / Accounting background preferred
Strong client interaction and interpersonal skills
Project / staff management experience
Contact dbarber@nichetech.com or call Daniel Barber 610-847-2143.
(Note: we expect two additional openings in the near future, one for a Senior Essbase Architect, and one for a Senior Hyperion Project Manager who lives on the East Coast no additional details yet available.)
The hiring company, an Oracle Platinum Certified Partner in business since 1997, is recognized as one of the fastest growing companies three years running, a recognized industry leader, Oracles 1st recipient as EPM Solution Partner of the year (which was awarded a 2nd year), and one for whom we have placed several Hyperion professionals over the past 15 years.
All those we have placed with this company speak very highly of the quality of life, family-oriented environment, friendliness, support and training, openness and honesty. You will be hard-pressed to find a better run company whose principals truly care for the well-being of their staff as well as their clients. I can also assure you the company is very well known within the Hyperion community.
While the company works to minimize travel (including coordinating some work to be performed off-site), the qualified candidate should expect to travel up to 80%.
Compensation is based on qualifications and experience. The package includes utilization bonus and benefits. The company highly encourages and offers substantial training services on the Oracle/Hyperion products, which includes certification-specific training for staff and clients.
For interested and qualified applicants, please ensure your contact information includes the city/state in which you currently reside, e-mail address, and phone number.
Qualifications required:
Expert knowledge of designing HFM applications, and building business rules.
Should have an understanding / working knowledge of other products such as OBIEE, DRM, ODI, and/or FDM
Experience with the latest versions of the product (11.1.21 or 11.1.2.2).
U.S. legal resident or U.S. citizen. Visa sponsorship is not currently being offered.
Oracle/Hyperion Certifications highly desirable
Bachelor or Masters Degree
Finance / Accounting background preferred
Strong client interaction and interpersonal skills
Project / staff management experience
Contact dbarber@nichetech.com or call Daniel Barber 610-847-2143.
↧
↧
Permissions for directories containing databases
From IBM DB2 9.7 for Linux, UNIX and Windows Information Center
Can you think of why group needs w(write)? Why can't be drwxr-xr-x ?
Quote:
For the directories containing the databases, each and every directory level up to and including NODE000x needs the following permissions: drwxrwxr-x 11 db2inst1 db2grp1 4096 Jun 14 15:53 NODE0000/ For example, if a database is located in /db2/data/db2inst1/db2inst1/NODE0000 then the directories: /db2, /db2/data, /db2/data/db2inst1, /db2/data/db2inst1/db2inst1 and /db2/data/db2inst1/db2inst1/NODE0000 need drwxrwxr-x. |
Can you think of why group needs w(write)? Why can't be drwxr-xr-x ?
↧
Uncatalog a DB Alias
Hi, I have install DB2 dataserver client on Linux server to connect to DB2 on Z/os and the connection works after catalogging TCP/IP node and the database. But now I have to change the database alias name. Can I issue the catalog database command with different alias name or first Do I need to uncatalog ? The command issued for catalog the MF database is as below:
catalog database DB1 as FINDB at node db2node
authentication server
catalog database DB1 as FINDB at node db2node
authentication server
↧
Table size
Hi everybody,
I need to see the space used by a table. So far no problem, with:
I'm getting the total space.
Now the twist. How can I see that space, but with a where condition.
For example, I need to know how much space is used on the table 'WORKERS' for the company_id Y.
As an additional info, the table has a set of all kind of collumn types, including BLOB's and CLOB's.
Thanks in advance.
I need to see the space used by a table. So far no problem, with:
Code:
SELECT segment_name table_name, owner, bytes
FROM dba_segments
WHERE segment_type = 'TABLE' AND table = 'WORKERS'
Now the twist. How can I see that space, but with a where condition.
For example, I need to know how much space is used on the table 'WORKERS' for the company_id Y.
As an additional info, the table has a set of all kind of collumn types, including BLOB's and CLOB's.
Thanks in advance.
↧
performance tuning
hi gems,
how to do performance tuning
sql tuning
how to do performance tuning
sql tuning
↧
↧
Execution of Oracle 11g wrapped procedure gives ora-00900 error
Hi,
I have a procedure which i wrapped using the oracle 11g wrap utility. If i execute the wrapped procedure using jdbc i am getting an error of 0RA-00900 invalid sql statement.
The procedure is having basic sql statements only.
The same procedure if i wrap using Oracle 9i and execute using jdbc it works fine.
Is there any change in Oracle 9i wrap utility and Oracle 11g wrap utility.
need help in this regard ASAP
Note: I tried even Oracle 10g wrap it is also not working fine.
Thanks
Sri
I have a procedure which i wrapped using the oracle 11g wrap utility. If i execute the wrapped procedure using jdbc i am getting an error of 0RA-00900 invalid sql statement.
The procedure is having basic sql statements only.
The same procedure if i wrap using Oracle 9i and execute using jdbc it works fine.
Is there any change in Oracle 9i wrap utility and Oracle 11g wrap utility.
need help in this regard ASAP
Note: I tried even Oracle 10g wrap it is also not working fine.
Thanks
Sri
↧
how to delete history in db2
hi
V9.7
ESE
how to delete history in db2
V9.7
ESE
how to delete history in db2
↧
Count the number of days
Hi
How to calculate the number of days of the data after saving it in the database..
For example i want to add a certain data and then calculate the number of days of that data that is being stored in the database...
Any reply would be much appreciated...
Thanks in advance...
How to calculate the number of days of the data after saving it in the database..
For example i want to add a certain data and then calculate the number of days of that data that is being stored in the database...
Any reply would be much appreciated...
Thanks in advance...
↧
Sqlcode=-805, sqlstate=51002, sqlerrmc=db2lic.syslic
Hello
I am using DB2 V9.7 fixpack 7 on linux box. During a process I am getting below error :
DB2 SQL Error: SQLCODE=-805, SQLSTATE=51002, SQLERRMC=DB2LIC.SYSLIC 0X5042354A4C464A77, DRIVER=4.14.113
I have tried
db2 bind /Db2 installed directory/bnd/@db2ubind.lst blocking all sqlerror continue messages bind.msg grant public
db2 bind /Db2 installed directory /bnd/@db2cli.lst blocking all sqlerror continue messages cli.msg grant public
db2 bind /instance_home_directory/sqllib/bnd/@db2schema.bnd blocking all grant public sqlerror continue
but during binding @db2schema I am getting below error:
LINE MESSAGES FOR db2schema.bnd
------ --------------------------------------------------------------------
SQL0061W The binder is in progress.
SQL0031C File "BINDV810L d R ¹
þ ¬ " could not be opened.
LINE MESSAGES FOR db2schema.bnd
------ --------------------------------------------------------------------
SQL0040N An error occurred on one or more bind files in list
"db2schema.bnd". The following files were not bound: "1".
SQLSTATE=00000
SQL0082C An error has occurred which has terminated
processing.
SQL0091N Binding was ended with "3" errors and "0" warnings.
and after it still getting 805 error.
Can anyone help me in this.
I am using DB2 V9.7 fixpack 7 on linux box. During a process I am getting below error :
DB2 SQL Error: SQLCODE=-805, SQLSTATE=51002, SQLERRMC=DB2LIC.SYSLIC 0X5042354A4C464A77, DRIVER=4.14.113
I have tried
db2 bind /Db2 installed directory/bnd/@db2ubind.lst blocking all sqlerror continue messages bind.msg grant public
db2 bind /Db2 installed directory /bnd/@db2cli.lst blocking all sqlerror continue messages cli.msg grant public
db2 bind /instance_home_directory/sqllib/bnd/@db2schema.bnd blocking all grant public sqlerror continue
but during binding @db2schema I am getting below error:
LINE MESSAGES FOR db2schema.bnd
------ --------------------------------------------------------------------
SQL0061W The binder is in progress.
SQL0031C File "BINDV810L d R ¹
þ ¬ " could not be opened.
LINE MESSAGES FOR db2schema.bnd
------ --------------------------------------------------------------------
SQL0040N An error occurred on one or more bind files in list
"db2schema.bnd". The following files were not bound: "1".
SQLSTATE=00000
SQL0082C An error has occurred which has terminated
processing.
SQL0091N Binding was ended with "3" errors and "0" warnings.
and after it still getting 805 error.
Can anyone help me in this.
↧
↧
DB Query
I need to create a report with multiple inputs, that will query one field.
So the report will ask for PNumber.
the user will input several PNumbers.
the reports will gather all the matching pnumbers and out put the data to a report.
what is the best way to gather and output the report?
any help would be great!!!
I have created a report based on "1" PNumber but I need it to pall multiple PNumbers!
Thanks!!!
So the report will ask for PNumber.
the user will input several PNumbers.
the reports will gather all the matching pnumbers and out put the data to a report.
what is the best way to gather and output the report?
any help would be great!!!
I have created a report based on "1" PNumber but I need it to pall multiple PNumbers!
Thanks!!!
↧
Define the combo box
Hello I'm new in this forum and I'm beginner in VBA.
I have some problem in my database and I hope that you can help me guys.
The form name is "MyForm" but I think It doesn't matter.
I have a 2 subform (I will describe only the fields with which I have a problem):
1. Subform "x" (Multiple Items)
-Field "MyName" (text) and "together" (Yes/No)
2. Subform "y" (Multiple Items)
-Field "Myname" (combo box)
Combo box has the same tasks which are in the "x" subform in "MyName" field.
Is it possible to do, that when I select at least in two rows field "together" in Subform "x" then in combo box in Subform "y" I should have additional task which is the sum of the names?
e.g.
In Subform "x" I have 3 positions
"a"
"b"
"c"
And in position "a" and "c" I select "together" (Yes/No), so In combo box "MyName" in Subform "y" I should have taksks like this:
"a"
"b"
"c"
"a; c"
Please guys help me
I have some problem in my database and I hope that you can help me guys.
The form name is "MyForm" but I think It doesn't matter.
I have a 2 subform (I will describe only the fields with which I have a problem):
1. Subform "x" (Multiple Items)
-Field "MyName" (text) and "together" (Yes/No)
2. Subform "y" (Multiple Items)
-Field "Myname" (combo box)
Combo box has the same tasks which are in the "x" subform in "MyName" field.
Is it possible to do, that when I select at least in two rows field "together" in Subform "x" then in combo box in Subform "y" I should have additional task which is the sum of the names?
e.g.
In Subform "x" I have 3 positions
"a"
"b"
"c"
And in position "a" and "c" I select "together" (Yes/No), so In combo box "MyName" in Subform "y" I should have taksks like this:
"a"
"b"
"c"
"a; c"
Please guys help me
↧
Rolling back multiple transactions......how to?
I have a stored proc that is executed from within another stored proc, both of these procs run transactions in them that update data.
Now if either of these 2 SPs fail i want to be able to roll back the transactions that have occured so that the data doesn't change.
Is this possible? if so, how?
Thanks.
Now if either of these 2 SPs fail i want to be able to roll back the transactions that have occured so that the data doesn't change.
Is this possible? if so, how?
Thanks.
↧