-
New Embedded SQL to pull data from 1 DB to another is failing
We just started using a TEST DB2 machine for the first time, for the past 20 years we've simply had test libraries on the Production DB2 box. Whenever I needed test data before, I just ran a CL I had created to copy *REPLACE the selected files. Our DB2 administrator is refusing to allow DDM to pull...
-
Hi, Is it possible to execute Excel Macros from PL/SQL procedure ?
Last updated: -
Execute SQL SELECT via RUNSQLSTM error
Trying to execute SQL-statement "SELECT * FROM mylib/myfile" give errormsg SQL9010. Some say that SELECT is not supported with RUNSQLSTM, but IBM command parameter text indicates otherwise. Is SELECT supported and what am I doing wrong?
Last updated: -
Export SQL Server database to SQL script
For my SQL Server database, is there a way to export it to an SQL script? I need something like mysqldump. It would take the database's name, and create a script that will remake the tables, data, stored procedures, etc. Does anyone know of anything like this?
Last updated: -
SQL: Loading data into server at real time
How can I load date into server at real time in SQL?
-
Where should I start my entry-level IT career?
How do I start career in IT industry when I have got bachelor's degree a long time back. I do not have an experience in IT but in HR. I do not have an experience in Canada where I have migrated 9 months back. There are very few females in IT industry. Where should I start. I even thought of...
Last updated: -
SQL stored procedure is taking too much time to execute
One store procedure is working fine at one location. But the same store procedure is taking too much time to execute in different location on same network. What would be reason for this and how to reduce response time?
Last updated: -
How to get data in DB2 based on index like (LIMIT 2,9) in SQL and other databases.
In other databases we get data based on index using LIMIT. Example: SELECT * FROM ZEMPLOYEE LIMIT 2,9. I tried using native SQL it works fine if we give LIMIT 3, it will fetch the records from 1-3 but when I give LIMIT 2,9. Then it should fetch the data from 2nd record to 9th record but It through...
Last updated: -
SQL query: Find out the count of employee whose name is more than one time
In SQL, how do I find out the count of employee whose name is more than one time in a table?
-
SQL: Adding a new column to an existing table
What are the questions from a BA standpoint? Shall I need to ask the business?
Last updated: -
Hi, How can I get all the table names of a bib by a SQL-query? Thank you.
Last updated: -
I keep getting a token error in my SQL statement.
Last updated: -
ORA-01445: cannot select ROWID from a join view without a key-preserved table
Hello, For the first time in my IT-life I've encountered following error message when I try to run query using ROWID on a view: ORA-01445: cannot select ROWID from, or sample, a join view without a key-preserved table I found something about key-preserved tables, but I'm not sure that my...
Last updated: -
Rookie using DSNTEP2 and IBM JCL – Need Help with JCL
I'd appreciate some help here. My JCL background is HP3000 / MPEX and HP-UX, but my IBM mainframe JCL experience is over ten (10) years old. So I'm having problems creating a JCL - my brain can't remember command syntax's from that long ago. I need to create a JCL that will accept an input file of...
Last updated: -
Create a sequence called Store_seq with the following values: increment by 10, start with 500
Create a sequence called Store_seq with the following values: increment by 10, start with 500
Last updated: -
How we get output as (weekday date) eg: monday may5 1996?
-
How do I list the mid-western vendors (Illinois, Indiana, Iowa, Minnesota, Wisconsin)? Also display the vendor ID, name, contact name (first & last), city, and state. Use formatting and concatenation to reduce the space required for the contact and city (30 characters should be fine). Order the...
-
SQL query for employees in my department
We need to find 50% of employee from each department, who is getting max salary. And every department have different employee count. ex. finance may have 100 employees and sale may have 40 employee. How do I write a query for this?
-
What is the SQL to determine what table objects are in the KEEP buffer pool?
Last updated: -
In a large logfile I have records containing the field INVNO (invoice-number). The lowest and highest values are easy to find, BUT it looks like some numbers in between are not there. Anyone got a trick with SQL, which can tell which numbers are missing within the numberrange (step 1) ?
Last updated: