MySQL use Limit
Hi all.I have a problem with mysql database.I have this table with 122 rows and columns `OrderTco` and `OrderCode`.`OrderTco` is the geographical area of origin of an order, `OrderCode` is a code of...
View ArticleOracle transaction not rollbacking data in c#
Hi, I have implemented oracle transaction in my c# code for inserting data in two table. but oracle transaction not rollback data of parent table when any exception occurs during insertion of child...
View ArticleWhich method for adding OracleParameter to a command has the least...
I have seen two methods of adding OracleParameters to a db request in .Net:1) creating an OracleParameters[] array and adding individual OracleParameters one-by-oneOracleParameters[0] = new...
View Articleget data from multi table with one id in data base
i am using oracle databasei am having empid as a unique valueby using empid i want to take data from multi table i use this codeSELECT * FROM TABLE1,TABLE2,TABLE3,TABLE4,TABLE5,TABLE6 WHERE...
View ArticleERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and...
ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified in windows server 2008 r2.I made a application in asp.net c#.I am using ODBC connection.When I...
View ArticleYou have an error in your SQL syntax; check the manual that corresponds to...
Hi All,i have this code and i got error like this..this is my cs code...protected void GridView1_RowDeleting(object sender, GridViewDeleteEventArgs e) { string username =...
View ArticleConnecting oracle 10 g remote server
Dear all, my client has given me public ip to access its DB from my officeso what change will i need to do in the connectionstring defined in web.configIP: 1.1.1.1 1521(port) ----------Given...
View ArticleHow to write sql subqueries
Can anyone help me out. I want to select the "productid" for all products from a table called "products" that both "user1" and "user2" have purchasedI am using ALTER PROCEDURE test (@user1 as int,...
View ArticleHelp with asp.net and connection to MySQL database on GoDaddy server
Help! I have spent many hours and cannot connect to a database on my GoDaddy account. It is a MySQL database located on a different server than the website which is coded in asp.net I assume that...
View ArticleHow to create a generic Oracle/SQL error messages in .NET
Hello:I have a bunch of .NET applications on the intranet website. I need to create a generic error message when there is an error occurs due to Security concerns . How to create a generic for...
View ArticleThis constraint cannot be enabled as not all values have corresponding parent...
Hi guys.. i having this error msg when i trying to return data from DB.. i guess something wrong to my database record but wondering how can i found out which record got problem? (as i having 1000++...
View ArticleLogin Error in SQLManagement studio
Hi friends,I am new to Database. I was installed SQLManagementStudio_x86_ENU in my laptop.but i am not able to login to my sql.I was tried with many server names like '.' , Home\SQLEXPRESS,local etc....
View ArticleCannot delete or update a parent row: a foreign key constraint fails
This is a scenarioTable (Telephone)id Number Table (Person_has_Telephone)Person_id(PK) Telephone_id(PK)Constraint - Table Telephone ....Delete all Person_has_Telephone where Person_id = 1, Delete all...
View ArticleOCIEnvCreate failed with return code -1 but error message text was not...
Hi,I have installed Oracle - OraClient11g_home1 in my local system(windows 7, 32 bit configuration) and Toad for oracle also installed(Toad for Oracle 11.5).Now my situation is-I have installed SQL...
View ArticleAm getting this error in orcle 11g ORA-06550: line 1, column 7: PLS-00306:...
Here p_ebond_id is output parameter and its datatype is number below code am using but getting error.Please tell where am going wrong. OracleParameter pebondidout = new...
View ArticleHas anyone been able to make MySql work in VS 2013 Express
I have basically spent my whole Sunday in trying to get my code-first application to work with MySQL. The solution works fine using the LocalDB, but it doesn't want to work with MySQL. The Funny...
View Articlestore procedure in mysql
i try to create procedure in mysql but it shows me errorDelimiter // CREATE PROCEDURE sp_login() BEGIN Select * from login where UName=@Uname and UPasword ; END //errorThere seems to be an error in...
View Articlemysql-installer-web-community-5.6.20.0.msi issue
hi guysI am new to Mysql . I have to use Mysql as a database in web application. So in this forum guys suggested me to downloadfull mysql-installer-web-community-5.6.20.0.msiI downloaded the...
View ArticleInvalid operation. The OracleDataReader is closed.
Hi,I am getting this error from my serverError Message:System.InvalidOperationException: Invalid operation. The OracleDataReader is closed.at...
View Articleim not getting my forgot password
Hi,im writng this code for retrieve the password which i was forgot ... but still im not getting anything ... please tell me where the error ..protected void forgot_Click(object sender, EventArgs e) {...
View Article