Strange thing happened in oracle database [closed] - database

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I am using Oracle database for more than half year. Today one row of the data is not able to update. I didn't get any error or anything even from the SQL developer. When I try to update, always get one row updated, and I did commit.
But when I try to query, I get the old value again. Only this one entry has this problem.
Could anyone please give me some suggestion?

My guess is there's a trigger on the table which resets the value. Without looking at your DML statements & table structures there's no way to comprehensively answer this.
To find out if you have a trigger on the table:
SELECT trigger_name
FROM all_triggers
WHERE table_name = '<whatever>';

There is something wrong with your code base. There is no way we can diagnose it as we arehic. not telepat
So you will need to debug it. SQL Developer has tools which can help you with this. Find out more.
If you don't understand how your own application works I suggest you start by profiling your code. This will tell you all the programs which fire when you run your update. I agree with the suggestion regarding triggers, but it is just a guess.

Related

fetching data from MLS while creating a real estate site [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I was doing some analysis for working on creation of a real estate site.
I need to fetch data from www.mls.ca
Now i am not sure on two things:
1. Is it legal to fetch data from that site for commercial purpose.
2. How do i pull the data from the site (i. Do i need to take the data every time and keep updating my db, ii. Do i need to get any db credentials from the mls site), i am a java developer so any hints on that line would be helpful.
Please help me with the process of fetching data from www.mls.ca
I'm not entirely clear what you intend to do, however, Spark looks promising, though. Please provide a specific question, so I can help you further.

Database Sync on-premise to cloud [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I am getting involved in a new world.. database sync. I use SQL Server, and I have one local database and another one in the cloud. I am trying to sync those two databases just by pressing a button.
Does anybody has any experience doing these?
Thanks
Your question is very vague and as such, my answer may seem vague too.
When generally speaking of syncing Local <==> Cloud I have personally been using a third party tool called RedGate SQL Toolbelt. The product is slightly on the pricey side, but the benefits offered are immense! You can easily compare and deploy structure and data changes at the click of a button.
(I have no affiliation to the product)

What's the minimal length for storing a Facebook API Access token in SQL Server? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
What's the minimal length for storing a Facebook API Access token in SQL Server?
With the way and frequency Facebook likes to break things for developers, the SQL server equivalent of nvarchar(max) is the only safe way.
I guess you want store it in a mysql database.
use 255 varchar field length of database table
you can also check fb full blog post here https://developers.facebook.com/blog/post/572
EDIT
As the question has changed. I'd suggest you nvarchar(400). This is really too much, but genrally acceptable. As a database developer you always must keep in mind that there can be unpredicted unicode, even when you are absolutely sure that the incoming length will be very small and there will only be English letters.
P.S. domain names always deemed to be only English letters, untill now.
http://путин.рф is an example. This is a working domain.
Source: http://en.wikipedia.org/wiki/.%D1%80%D1%84

How to make standalone database application? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
How to make standalone database application like metastock, tradestation etc. ?
They colud handle some what large amount of database and those database files can take one computer to another.
It is possible to read, write or delete data of those database from the application.
Can anybody have any idea of how those applications are working? And what type of database they are?How to develop an database system like this? If you know know anything about it, Please share it. Thaks in advance.
Well, if you're just looking for a standalone db, you could do it in access but I don't know how big you are going to want it to get, so access may be limiting.
MYSQL is also another option (mostly as it's free for the common folk).
look into sqlite. It's very portable. However it can't handle concurrent queries.
http://www.sqlite.org/

Does transaction slow the query execution? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I want to know that does Apply transaction in stored procedure slow the execution of query?
if yes the why?
i want to know the actual internal processing of sql server when we apply transaction on query?
Consider that there are different types of Transaction within SQL Server and that the default setting for the Database Engine is "Autocommit Transaction", that is to say that each individual Transact-SQL statement is committed when it completes. You do not have to specify statements to control transactions, unless you wish to explicitly manage them with more refined control.
See: Controlling Transactions (Database Engine)
Are you perhaps therefore asking if there is any additional overhead when explicitly controlling transactions?
The short answer is yes, as to what exactly is that overhead, well it depends. It depends on multiple factors such as the method used, i.e. Transactions managed through an API or direct via T-SQL, as well as the performance of your specific hardware.
On the performance front, I guess that there will be a slight performance degradtion when using transactions, but that is negligible.
For the transaction processing, got two links below. Hope they will help you -
http://www.informit.com/articles/article.aspx?p=26657
http://sqlserverpedia.com/wiki/Database-Transaction

Resources