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

SQL1770N Takeover HADR cannot complete. Reason code = "10".

$
0
0
I am getting error "SQL1770N Takeover HADR cannot complete. Reason code = "10"." on secondary server ..
We don't have any cluster configuration at our location how ever the cluster manager shows as TSA on secondary and none on the primary..
Can you guys please help me to resolve this....

--secondary server
--db2 v10.5.0.4

$ db2 takeover hadr on database samplesecondary by force
SQL1770N Takeover HADR cannot complete. Reason code = "10".
$ db2 get dbm cfg | grep -i cluster
Cluster manager = TSA

db2diag.log has the following info :

FUNCTION: DB2 UDB, high avail services, sqlhaLockHADRResource, probe:180
RETCODE : ECF=0x9000052E=-1879046866=ECF_SQLHA_FAILED
SQLHA API call error
FUNCTION: DB2 UDB, High Availability Disaster Recovery, hdrTakeoverHdrRouteIn, probe:55610
RETCODE : ZRC=0x827300AA=-2106392406=HA_ZRC_FAILED "SQLHA API call error"

--primary server
$ db2 get dbm cfg | grep -i cluster
Cluster manager =


Thanks a lot

LBAC column of DB2 9.7 LUW using in WHERE clause which does not having read permissio

$
0
0
Dear All,

We would like to know more about the LBAC column and row of DB2 9.7 LUW in WHERE clause which column does not have read access rights for the user.

See below example :

Table1:
Column1 - Protected and No read access for user1
Column2 - Normal
Column3 - Normal

Table2:
Column4 - Protected and No read access for user1
Column5 - Normal
Column6 - Normal

SQL executed by USER 1:

SELECT Column2, Column3, Column5, Column6 from Table1, Table2 WHERE Table2.Cloumn4 = Table1.Column1;

Question : What will be the result after executing above query by USER1

Thanks & Regards,
Rathvel.

Project WON Need Tester in Kansas City MO with Federal Agency‏

$
0
0
"It's been a long time"
"I'm back"

Full Legal Name:

Phone No(s).

E-mail(s):

Current Location (City and State)

Work Authorization Status:

Best time and the best no. to call you at:

Availability to start on the assignment if you are hired:

Would you be able to relocate (if applicable) on your own expenses?

Would you be able to provide proof of your age to legally work in US?

Would you be able to provide document proof towards your work authorization in US?

Would you be eligible / able to obtain Security Clearance?

Expected Salary:



Secret Clearance



Title: Tester

Location: Kansas City, MO

Location: Marine Corps Information Technology Center, 2306 E. Bannister Road, Kansas City, MO

Clearance: Active Secret





POSITION SUMMARY:

The junior level Quality Assurance analyst will write and execute test cases on various software systems in order to ensure product quality. The analyst will be documenting defects, collaborating with Release Management, Development, and QA teams to ensure that testing is completed correctly and quickly.

DUTIES:



Very Imp (Exp in Microsoft Visual studio and Microsoft test manager and team foundation server exp is must)





Translate business requirements documentation into test cases

· Write test plans, scenarios, scripts, and testing procedures

· Identify defects with reliable, clear steps to reproduce and document them in a bug tracking system

· Communicate defects to software developers and Release Management team

Connect MySQL to another DBMS via ODBC

$
0
0
Hi guys,

Is it possible to connect MySQL to Advantage Database System (ADS) via ODBC? I do have an ADS ODBC configured which I can query in Excel, but how can I manage to create views in MySQL using this ODBC?

My project consist of making one solution (Filemaker) to query a ADS DB. Filemaker only support a limited set of ODBC technologies which are Oracle, MS SQL and MySQL. So my workaround is to wrap the ADS solution under a MySQL database. I know this would be slow, but speed is not an issue.

I tried to search the web, but no luck. Maybe I'm not using the right searching terms.

Thanks for helping

Migrate Sybase SQL Server/11.0.3.2 ( Sybase 11.0) to Sybase 11.9.2

$
0
0
I would like to migrate a instance of SQL Server/11.0.3.2 to Sybase 11.9.2 (i want use SSMA after that). There is no documentation on this subject on the web because it's too old (1997).

I only want migrate 3 databases of my instance. I try to dump a db to Sybase 12.5.4, not work, ddlgen not work on 11.0.3.2. With the system table, i can recreate the SQL script for table, view, procedure... and then i bcp the data. But i think it's not a good way, it's too long and not safe...

An other solution: upgrade the server to 11.9.2 (or more), but as i say, i only want migrate 3 databases.

If sombody have an other way to do that, it's will be a great help. Thank in advance.

Intelligent Provisioning on HP DL360 Gen9

$
0
0
Hi All,

Please if you can advise if the below is correct .
I have Intelligent Provisioning as N/A after booting HP DL360Gen9 , is that normal ?
shouldn't I see a value on it ?

Thank you.

LEFT joins inMYSQL

$
0
0
Hi,
I am getting two completely different performance metrics for my query in MYSQL, even though it is against same table and is expected to give slmost similar result set
If write it this way, I believe which is the right way as I am restricting the population in sub query, my query runs for ever.

SELECT d.sendermobile,dd.internalid FROM `woohoo_all_data` d
LEFT JOIN (SELECT DISTINCT mobile, internalid FROM `customer_internal_id` WHERE mobile <>'' ) dd ON d.sendermobile=dd.mobile

If I put the where clause outside, it runs with in two minutes..


SELECT d.sendermobile,dd.internalid FROM `woohoo_all_data` d
LEFT JOIN (SELECT DISTINCT mobile, internalid FROM `customer_internal_id` ) dd ON d.sendermobile=dd.mobile
WHERE mobile <>''

Can anyone tell me how different are these two queries internally to MYSQL and why is the first one runs longer.

Thanks,
Roopesh

Dedicated Server - Dedicated IPs - cPanel - 4x Core - 1TB BW - 4GBRAM - Groomhost.com

$
0
0
GroomHost.com - Provides Perfect Money Hosting & Webmoney Shared, Reseller, VPS, Dedicated web hosting and SSL


GroomHost Web Hosting – Providing you the quality service and support. Our plans are competitive and well priced. We have 24/7 support. Also, there's our money back guarantee.



Account Features

• FREE instant Setup
• Instant Account Activation
• 24/7 Technical Support
• 30 Days Money Back Guarantee
• LiteSpeed Web Server
• CloudLinux Maximum Performance & Reliability
• Latest cPanel with Softaculous
• Latest PHP 5.2x,5.3x Perl, CGI & MySQL
• RVSiteBuilder Pro
• FREE Website Migrations
• And much more!




We Accept:

• Payza(AlertPay)
• Web Money
• Perfect Money
• Money Gram
• Western Union
• Skrill(Moneybookers)
• Bitcoin.
• PayPal
• Stripe(Credit Card)
• Paymentwall
• PAYEER




Dedicated Server Packages


==================================================
Starter: $200/Month
==================================================

Dual Core
RAM 2 GB
Bandwidth 10 X 1000 GB
Hard Disk 250 GB
Dedicated IPs 1
Server Location United States
Best for starter teams

ORDER NOW




==================================================
Plus+: $500/Month
==================================================

Intel Core i7
RAM 16 GB RAM
Bandwidth 10 X 1000 GB
Hard Disk 2 X 1 TB
Dedicated IPs 1
Server Location United States
Best for Business

ORDER NOW



==================================================
Enterprise: $300/Month
==================================================


Quad Core
RAM 8 GB
Bandwidth 10 X 1000 GB
Hard Disk 1 TB
Dedicated IPs 1
Server Location United States
Best for Enterprise

ORDER NOW




30 Days Money Back Guarantee
If we fail to satisfy you we believe it's our fault you can get refund with in 30 days without any question.

99% Uptime Guarantee
We work hard to maintain servers uptime but there are many unpredictable threats such as DDoS attacks, hardware issues, natural disasters that can effect our datacenter, so we guarantee 99% uptime.

24/7 Support
We have a team of support staff waiting to deal with support tickets. If you ever feel you need a little extra help feel free to send us a support ticket. We can guarantee a quick resolution to any problems you encounter.

Migration From Another Host
No worries! We've got you covered. After signup just fill out our transfer form and we'll transfer over your existing cPanel account from your current host with all data intact and no website downtime usually within a few hours.


For any query email us: support@GroomHost.com
Like us on Facebook fb.com/GroomHost
Follow us on Twitter @GroomHost

Partitioned tables in Sybase 15.7

$
0
0
Hello,
The application I am currently analysing, which is having, serious performance issues, is using semantic partitioning (range) on one of the main tables.
In order to be able to archive data easily, each partition contains the data of one month. Hence all inserts happen on the same partition. I do not really see the benefit of it.
In addition, each month, they obviously start with an empty partition and due to the high percentage of new data, the statistics are wrong. Therefore they run update stats every hour, in order to get the indexes used.
Main index is on date (which is the partitioning key) and an id-column, which is ascending.
My assumption is, that this index on (partitioning key, id) degenerates and is not really useful.
In addition I think that the performance problems could be solved, by partitioning by a completely different column.

Question: Has someone got experience with this sort of partitioning? Would it not be better to partition by a completely different column that the date of insertion, in order to distribute the load among all partitions.
The disadvantage would be, that the archiving would suffer, but finally the main purpose of the application is to get data in and out and not the archiving.

Many thanks for your help.

Regards,
Ricarda

Access 2013 - Wizard Freezes for ~30 seconds after each Click Selection

$
0
0
I have been working with Databases since DB III+. Access 2010 pro worked fine. Access 2013 is giving me absolute fits! When I attempt to use the Wizard to create a Command Button or a Combo Box, the Wizard freezes for at least 30 seconds after EVERY Click or Selection. Once created, the Button/Box works just fine. However, I need to build a couple of databases that are "User Friendly" (Read: uses a lot of Buttons), and I don't really want to go insane while doing so. I have read another post that talks about adding a new Trusted File location. Did that. Read another about setting things to Windows 7 Compatibility. Did That. STILL no Joy. Using an x64 machine with 12 GB Ram and 32-Bit Office 2013 Pro. Help me keep what's left of my sanity!!

List data of a Column with same Beginning

$
0
0
Hi! i'm starting to work with Sql and i'm kind of lost.

I have a colummn with thousands of ID's number.
My boss requested me to list all ID's that begins with 0 and erase the 0.

Ie: 0446785 to: 446785

Can anyone help me with the command i need to execute in order to perform this action?

Thanks in advance!

Tips for DBA: Analysing Dynamic SQLs.

$
0
0
As a DBA we have to make sure the running queries are optimized or identify bad queries and action them.

Generally we take dynamic snapshots but i'm wondering if anyone has any scripts/ tool which comes handy in such analysis which can analyse the snapshots an point out bad queries and possibly give recommendations?

Stella

Database hanging

$
0
0
Hi, we have an 11.70 C5 Informix database of 90 GB and since 3 weeks we have encoutered some probelems, too simply the database is hanging , when we launch from the server
dbaccess mydbname its hanging and the database want to let us access and same thing for the clients.

the server is a Widnows 2008 r2, we have change the server, and also the same problem at random, we have started to analyze and we have seen thats in the online log at the momement of hanging it was a long checkpoints duration.

the time consuming is in flushing to disk, we have lower the LRUS to 2% and 1% but always flushing diration is high at random and also we have found 3 times crit_time is high (200 s)

we have 400 000 bufferpool and LRUS=20 and cleaners is 8.

The machine is a multiprocessor (4 cpu of 4 cores) with 53 GB of RAM.

PLz help, how can we found whats happenning.

Evden Eve Nakliyat Hizmeti ile Taşınma Kolaylığı

$
0
0
Evden Eve Nakliyat Hizmeti ile Taşınma Kolaylığı
Taşınmak zor iş, daha doğrusu zor işti. Nakliyat sektörünün son yıllarda gösterdiği gelişme evden eve nakliyat işi yapan firmalara da yansıdı ve bu zor iş artık kolaylaştı. Şimdi taşınmak istediğinizde profesyonel evden eve nakliyat işi yapan bir firmayı aramanız yeterli oluyor. Eşyaların nasıl paketleneceğini, demonte eşyaların nasıl sökülüp yeniden nasıl kurulacağını bilen, size yardımcı olmaya hazır bir ekip geliyor. İşi fazla uzatmadan, sizi bir kerede taşıyacak araçları ile beraber geliyorlar ve düşündükçe sizi bunaltan taşınma işi birkaç saat içinde olup bitiyor.
Asansörlü Taşımacılık Bile Hizmetinizde
Eğer taşınacağınız ev veya gideceğiniz yeni eviniz yüksek katlardaysa bile endişelenmenize gerek yok. Çünkü bu firmalar isterseniz asansörlü taşımacılık hizmeti bile veriyorlar. Böylece eşyalarınız dar merdiven boşluklarında hasar görme riskinden de kurtuluyor. Asansöre gerek olmayan binalarda da bütün eşyalar gayet emniyetli kolileniyor, paketleniyor ve yer değiştirmeye hazır hale geliyor. Ankara evden eve nakliyat işi yapan firmalar bütünüyle kaliteli iş ve müşteri memnuniyeti odaklı çalışıyorlar, çünkü hizmet sektöründe fark yaratmanın başka bir yolu yok.
ankara nakliyat, evden eve nakliye ankara, ankara depolama


https://protrans.com.tr

Creating a range of Dates in Date/Time formatting

$
0
0
Hello, Everyone!

This is my first question. I'm currently working on a database and I want to include a Field for years active. I'm having trouble creating a yyyy format that would allow for both ranges. I'm a student in my first databases class. I don't know a lot about access yet and I want to make my database stand out; this is above and beyond the project requirments.

My hopes would be that the field would look like this (2007-Present) or (2007-2016) to be in each cell. I'm assuming the formatting would look like yyyy - yyyy but it doesn't work for some reason. I want to keep the formatting as Date/Time.

The current input mask that I am using is "("0000\-0000")";0;_

I have searched all over google and the access help function to no avail. Maybe I'm not searching for the appropriate terms.

Anything that could point me in the right direction or any help would be greatly appreciated!

Thank you!

How to avoid security warning when an automatic email is sent from the access?

$
0
0
I have a "recognition database". Every time one person recognize another person. The person chooses other person's name in the drop down and when that record is saved an email should be sent to the person to let him know that recognition for him has been submitted in the database. I am using the code below it works fine and it send email but gives me a security warnings every time an automatic email is sent. It will be pain if everyone has to select "Allow" everytime. So I do not want to have that popup. Please check my code and suggest how I can avoid that security popup.

Quote:

Private Sub Label140_Click()On Error Resume Next
Dim Combo97 As String
Dim stText96 As String




If IsNull(Me![Combo97]) Then
MsgBox "You must read the Recognition.", vbOKOnly, "More Data Required!"
Exit Sub
End If


RunCommand acCmdSaveRecord
DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70
Me.Refresh
Me.Dirty = False
Dim oApp As Outlook.Application
Dim oMail As MailItem
Set oApp = CreateObject("Outlook.application")


Set oMail = oApp.CreateItem(olMailItem)


stText96 = Format(Me.Text96, "00000")

oMail.HTMLBody = "A Recognition has been submitted for you in the Recognition database. Please address this Recognition.." & Chr$(13) & _
Chr$(13) & "Recognition Number: " & stText96 & Chr$(13) & "" & Chr$(13) & _
Chr$(13) & "Below is the link to the database... " & Chr$(13) & _
Chr$(13) & "<a href=""" & "C:\Recognition - Front End.mde" & """>" & "C:\Recognition- Front End.mde" & "</a > " & Chr$(13) & _
Chr$(13) & "***THIS IS A SYSTEM GENERATED EMAIL. PLEASE DO NOT REPLY TO THIS EMAIL****."

oMail.Subject = "You have received a new Recognition."
oMail.To = Forms![New Recognition]!Combo97
oMail.CC = ""
oMail.Send
Set oMail = Nothing
Set oApp = Nothing


DoCmd.GoToRecord , , acNewRec
'DoCmd.Close acForm, NewRecognition, acSaveYes
'Exit_addNewRecord_Click:
' Exit Sub
'Err_addNewRecord_Click:
' MsgBox Err.Description
' Resume Exit_addNewRecord_Click


End Sub
The popup I receive is as follows.Capture.PNG
Attached Images

INSERT from SELECT into a variable

$
0
0
Hi,

In MySQL, I have basket field call item_name in my order_basket table.

I want an SQL statement to take all item_name and INSERT it into a variable call param_details whch a TEXT type with a "\n" between them.

something like this

DECLARE param_details text;

INSERT CONTACT(item_name, "\n" INTO param_details FROM order_basket


How can I do this please?



Thanks,
Jassim

Trying to use Relationships to See what I can Build with my Inventory

$
0
0
The answer to this may be very simple and I might be over thinking what I am trying to do so please bear with me.

The best way for me to explain what I am trying to do is to use the example of cars.

I have one spreadsheet that has a list of all of the inventory needs of my repair shop. So if I have 5 cars that need a door replacement for each car. The spreadsheet will have a line item for each car door that I need. It includes information such as the make, model, color, and part number of the car. So I have this really nice inventory of what I need base on the part number with full descriptions.

In addition to that I have another spreadsheet that tells me what my inventory has on hand in the shop. For an example, it will have a separate line item for every car door I have in inventory along with columns for it's make, model, color, and part number.

Here's what I would like to do. I want to be able to link my spreadsheet that has a list of all of my inventory, with the spreadsheet that has a list of all of my needs, so that I can see all of the work I can do! Is this possible?

Mind you, I am not just talking about car doors when I get down the broader scheme of things. There are many other parts, such as windows, tires, and other parts I would like to match. You get the idea. But I would be happy if it just worked for one part too.

It is not necessarily a "relationship" I am looking for between the two sheets, but more so a matching inquiry based on compatibility between customer needs and what I have in my inventory and matching them based on multiple criteria, in this case, make, model, color, part number.

I don't mind if the output showed multiple matches (for instance if I had only 5 car doors, but the system were to show me 50 possible cars I could repair with them based on the matching criteria).

Any help on relating the two spreadsheets is appreciated.

Thank you!

Difference Between CONCAT or +?

$
0
0
They appear to do the same thing in the query window but is there a reason to use one over the other? I am aware that CONACT was a new 2012 introduced T-SQL function.

Code:

SELECT 'A' + 'B' + 'C' AS PlusExmpl

CONCAT('A', 'B', 'C') AS ConExmpl

Help With Access Query - Remove duplicates but leave the unique

$
0
0
Hi,

I have a following table in MS Access 2007 where I want to remove the duplicates (from a column - "Merge") from it but leave all the unique values in it. Thanks heaps for looking into it.

Table Name=Disc_Analysis
ID | Name | Date | Amount | Merge
1 | Adam | 05/05/2015 | $55 | 1Adam5555
2 | Ram | 07/04/2014 | $400 | 2Ram4525
3 | Roy |05/05/2015 | $55 | 1Adam5555
4 | Mat | 07/11/2014 | $499 | 4MatCBOM

I want to see the following as my result table.
ID | Name | Date | Amount | Merge
1 | Adam | 05/05/2015 | $55 | 1Adam5555
2 | Ram | 07/04/2014 | $400 | 2Ram4525
4 | Mat | 07/11/2014 | $499 | 4MatCBOM

Thank you so much in advance.
Viewing all 13329 articles
Browse latest View live