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

What kind of database?

$
0
0
I am trying to determine what kind of database a customer has so I can convert it. Its from year 2000 +-

The tables seem to have their own files each with no extension and then the index I assume is the IDX file.

Does anyone have any idea what this might be and how I can access it?

Example:

ADDRESS
ADDRESS.IDX
ADDRESS.RCO
ADDRESS.PRM

ADDRESS.OLD
ADDRESS.OIX

WHUK | Avail 20% OFF on WordPress Hosting | Free Domain Name

$
0
0
*WHUK* offers WordPress optimized hosting servers in the UK over CloudLinux platform. Our WordPress Hosting plans make it simple and easy for you to setup your own blog or website with everything needed to get started right away. Every plan comes with WordPress preinstalled - a powerful, easy to...

by passing startup code in access

$
0
0
I am struggling to by pass my startup code in MS Access using the SHIFT + ENTER keys. How else can I accomplish this?

Attachment Field Auto Renamig Files

$
0
0
Hello All, I have an attachment field in access 2016 which allows me to attach documents to each record. I was wondering if there is a way to code the attachment field so that it automatically assigns a file name to the attachment, regardless of what the file's name already is. Basically, I'm...

DB2 SQL Division issue - Numeric value out of range.

$
0
0
Error during SQLFetch: 22003(-99999)[IBM][CLI Driver] CLI0111E Numeric value out of range. SQLSTATE=22003 (0.11 secs) ---Quote--- SELECT CLIENT_KEY, DEALER_CODE, (COALESCE(TOTAL_SETTLEMENT_RISK_LIMIT,0) / (Select input_value from ABC.TRANSFORMATIONS ...

Automating Report Creation and Saving

$
0
0
Hello all,

I have 2 reports that I would like to some how have automatically generated and save as a PDF.

1st report is filtered by manager and I would like to have access automatically create a PDF report for each manager in the filter list and save by their name in a manager folder.

2nd report is filtered by manager and then a second filter by the groups they manage. Would like to automatically have access generate the report and save by manager in a group folder.

Is this possible? I do not know how to write VBA.

performance optimisation

$
0
0
need a help in query opimisation in sqlserver


And ISnULl(Org.CustomernKey,-99=ISNUll(ISNULL(Stg.CustomernKey,Org.CustomerNKey ),-99)


this query is taking maximum time in production
1.Query define in where cluse with and condition
2.It assign data from stg and mail table to main table
3.ISNull condition taking more time on this query and need to restructure the cluse and replacement of isnull


can you help me out with restucturing in sqlserver

db2 database backup and recovery

$
0
0
Hi Folks,

Please share details of db2 database backup and recovery procedures

apart from basic commands like
db2 backup database <name>

both offline and online backup and how to integrate with tape and auto scheule

(something likeo oracle rman daily incremental and weekly full,cold backup,imp ,export,tablespace level all such options in db2 )


and automating this on tape,same way resotring (restore scenerios)

Thanks
Lucky

Write incoming port data to sql server

$
0
0
Good day

I am needing to write the data that I have incoming on one of my server router ports to a SQL Server. I have spent the better part of 3 days looking and no luck yet in pointing me in the right direction

Can someone help or even point me in the right direction please?

Thank you

DB2 11 Installation issue

$
0
0
Hello,
I am trying to install DB2 11 with below response file. I am not including TSAMP, but my installation keeps failing trying to install it.

*--------------------------
* Product Installation
*--------------------------
PROD = DB2_SERVER_EDITION
FILE = /opt/IBM/db2/V11.1
LIC_AGREEMENT = ACCEPT
INSTALL_TYPE = CUSTOM
COMP = BASE_CLIENT
COMP = JAVA_SUPPORT
COMP = SQL_PROCEDURES
COMP = BASE_DB2_ENGINE
COMP = CONNECT_SUPPORT
COMP = DB2_DATA_SOURCE_SUPPORT
COMP = SPATIAL_EXTENDER_SERVER_SUPPORT
COMP = JDK
COMP = LDAP_EXPLOITATION
COMP = INSTANCE_SETUP_SUPPORT
COMP = ACS
COMP = SPATIAL_EXTENDER_CLIENT_SUPPORT
COMP = COMMUNICATION_SUPPORT_TCPIP
COMP = APPLICATION_DEVELOPMENT_TOOLS
COMP = DB2_UPDATE_SERVICE
COMP = REPL_CLIENT
COMP = DB2_SAMPLE_DATABASE
COMP = TEXT_SEARCH
COMP = INFORMIX_DATA_SOURCE_SUPPORT
COMP = ORACLE_DATA_SOURCE_SUPPORT
COMP = FIRST_STEPS
COMP = GUARDIUM_INST_MNGR_CLIENT
COMP = GPFS
COMP = PURESCALE

Could someone help me understand this? I have installed V10.5 earlier with same response file -- except GPFS and purescale , so I am confused if that has any dependency.

Thank you
ABHI

Backup SQL to mapped drive

$
0
0
Hello I am trying backup one of the database on sql server to a mapped drive

tried this and got an error message


Code:

EXEC xp_cmdshell 'net use z \\WIN7PRO\sqltest'


ERROR MESSAGE
Msg 15281, Level 16, State 1, Procedure xp_cmdshell, Line 1
SQL Server blocked access to procedure 'sys.xp_cmdshell' of component 'xp_cmdshell' because this component is turned off as part of the security configuration for this server. A system administrator can enable the use of 'xp_cmdshell' by using sp_configure. For more information about enabling 'xp_cmdshell', search for 'xp_cmdshell' in SQL Server Books Online.

Query Optimization

$
0
0
Hi Gurus,

Having a problem with fetching records from a table it was huge in size, index column has not been created.
below sample columns

id--index created
name
age
salary
place


my problem is i should not use the id in where condition,

my requirement is to use non index column (name,age,salary,place)

creating index, MQT is not allowed.

is there any other way to fetch records faster ....? using any other technique

Thanks in advance

need to create index on existing table having huge volume

$
0
0
Hi Guys,

can i create, will be there any issue

need to create index on existing table having huge volume

Thanks in advance

DB2 diaglog error on db210.5 fp8

$
0
0
Hello all,

After migrating form 9.7 to 10.5 i am seeing below diaglog error every day on all environments.
can some one suggest what that could be ?



2017-08-20-11.28.09.694975+120 E35620728A1116 LEVEL: Error
PID : 25952370 TID : 25393 PROC : db2sysc 0
INSTANCE: db2inst1 NODE : 000 DB : EMADB
APPHDL : 0-58499 APPID: *LOCAL.db2ecqea.170820092813
AUTHID : DB2ECQEA HOSTNAME: lnxaix21375999
EDUID : 25393 EDUNAME: db2agent (EMADB) 0
FUNCTION: DB2 UDB, relation data serv, sqlrr_rds_common_post, probe:870
MESSAGE : ZRC=0x8012006D=-2146303891=SQLR_CA_BUILT
"SQLCA has already been built"
DATA #1 : String, 28 bytes
UCstate terminate bit is set
DATA #2 : Hexdump, 4 bytes
0x0000000110E09688 : 0000 0140 ...@
DATA #3 : SQLCA, PD_DB2_TYPE_SQLCA, 136 bytes
sqlcaid : SQLCA sqlcabc: 136 sqlcode: -1224 sqlerrml: 0
sqlerrmc:
sqlerrp : SQLRRRCP
sqlerrd : (1) 0x80090003 (2) 0x00000003 (3) 0x00000000
(4) 0x00000000 (5) 0x00000000 (6) 0x00000000
sqlwarn : (1) (2) (3) (4) (5) (6)
(7) (8) (9) (10) (11)
sqlstate:

Doubts While creating MQT

$
0
0
Hi Team.

Need some clarification to create MQT

my table1 size is around 7TB

1. Whether it will increase in Size compared to actual table?
2. While creating MQT it will impact actual table in performance whether need downtime?
3. While Refreshing MQT immediate refresh it will update only the changed and new records or it will take more time by checking all the records in actual table
4. whether it will increase performance in below scenario
Table1 having columns like this (ID-Index created,name,age,place,joindate,creationdate)
while fetching records from this it takes only 20 minutes for example based on ID column which
index created already but giving condition for non index column it take more and more time.

Now Am creating MQT Table1_MQT based on ID and Joiningdate , creationdate with index
(joiningdate and creationdate)

Now joining two tables as below

select a.id,b.joiningdate from table1 a, table1_MQT b where a.id=b.id and joining date between
'1-jan11' and '31 dec11'

This will increase the query performance?

Thanks in advance

SQL Replication error messages

$
0
0
Does anyone know where to find documentation on SQL Replication error and warning messages. I'm having a hard time tracking down these messages. I think the second one is related to log file sizes because I saw "log file saturation" messages in db2diag.log file.

2017-08-22-10.58.16.165166 <CPAINS2(CF/07)> ASN1001E APPLY "MYQUAL2" : "WorkerThread". The Apply program encountered an SQL error. The ERRCODE is "CF0107". The SQLSTATE is "09000". The SQLCODE is "18446744073709550893". The SQLERRM is "xxxx.xxxx-REC_INSERT▒-803▒23505▒1|xxxx.xxxx_PM_KEY". The SQLERRP is "SQLDMISR". The server name is "". The table name is "xxxx.xxxx_REC".

2017-08-22-10.56.38.545749 <CPDTGT(73/01)> ASN1001E APPLY "MYQUAL1" : "WorkerThread". The Apply program encountered an SQL error. The ERRCODE is "730101". The SQLSTATE is "09000". The SQLCODE is "18446744073709550893". The SQLERRM is "xxxx.xxxx_DELETE_2▒-964▒57011▒". The SQLERRP is "SQLRL2F5". The server name is "". The table name is "xxxx.xxxx_REC".

Thank you.

Report with field with more than one value

$
0
0
Hi! I have a database that tracks teachers (with all their info) for each class (among other things). Each class is assigned a teacher, but teachers can be assigned to more than one class (different days). I now want to make a staff roster that has the teacher contact info along with each class they teach, something like this:

Name address phone 1st grade Sunday
Name2 address phone 3rd grade Monday

But if a teacher teaches two classes, I want this:

Name address phone 1st grade Sunday, 1st grade Monday
Name2 address phone 3rd grade Monday

So how do I make a report that does this? It seems like I should be able to, but I'm not having any luck. Also, I'm pretty good with the built in Access stuff, but SQL and VBA are over my head at this point. Thanks!

Karen

Automatically filling out a column of a subtable

$
0
0
Hello all,

I've taken on a project that might be way beyond my skill level considering I've only taken one database class about 5 years ago.

Tables:
Clients - ID, name, info, defaultDayofWeek
Attendance - clientID, attendance(default yes), otherServicesTaken(default yes), DATES

On a form, when I select a day, for example, August 22 Tuesday, I need the continuous form to have all the clients for Tuesday in the column so I can just edit the attendance and otherservicestaken and save the attendance records.

Is this even a good way to go about this? In any case, please help.

I will provide more info if required.

Help me to understand MVD

$
0
0
hi, this is my first time studying multivalued dependencies and there is a question that post by my lecturer as a class exercise. I had completed the answer but I have doubt on it. Please tell me where I did wrong?

Question
questions.PNG

My answer will be as follow
Multi-valued dependencies
courseCode -->-> lecturerId
courseCode -->-> (startDate, StartTime)
(courseCode, startDate, StartTime) -->-> learnerId
learnerId -->-> (courseCode, startDate)

Functional dependencies
courseCode --> (courseName, weeklyHours, noofWeeks)
(courseCode, startDate,StartTime) --> lecturerId
(courseCode, lecturerId) --> (startDate, StartTime)//i'm not sure if this is even needed
lecturerId --> (lecturerName, lecturerEmail, lecturerGender)
learnerId --> (learnerName, learnerEmail)
Attached Images

dBase III

$
0
0
Hi All!

I have a situation where the dBase III cannot open .dbf extension file. An ERROR message occurs. Is there another way to open this file?

Any suggestions ideas would be great.
Viewing all 13329 articles
Browse latest View live