Issue with a manually instantiated (MySQL) provider
I'm working on a prototype program, which should test different (SessionState, Profile, etc) providers for ASP.NET, i.e. MySQL, Oracle, etc. At the moment I'm using the MySQL provider. I've just...
View ArticleDynamically create DB Table
Dear user,In my script i try to make dynamically a Table in my Mysql database. My scrist In C# is as followed. But when i fired the script no table was created. whats wrong in my script.public void...
View ArticleInconsistent ADO.NET model after changing mySQL database schema
HiThis is my first post in ASP.NET forums. Pretty excited!I am working on a MVC 4 application. Using Entity Framework Database First design paradigm. My database is in mySQL, on a remote server. I am...
View ArticleOracle dynamic SQL
hi there,trying to do a simple sp which will take tablename, where condition, and fieldname , will return data into out parameter.1) Please tell a way to do so.2) Is it beneficial to write a SP for...
View ArticleHow to connect PHP and oralce
Hi to all I need simple and quick help how to connect PHP with Oralce ..any urgent reply is highly apppreciated .Thanks
View Articlecreating back up of database
Hi allI had created a website and i am able to get backup of database on local system by this code protected void ImageBackup_Click(object sender, ImageClickEventArgs e) {...
View ArticleProblem changing user password for Oracle in VB.Net code
Our company policy is (foolishly) to expire Oracle passwords every 2 months. I have set up some code to allow them to change the password but I'm hitting a snag. Their password is expired so if I use...
View ArticleOracle Like Clause
All, I am having issues using a like clause in a query against an Oracle Database.I have attached the oracle database. I have a repeater control - the sqldatasource is below.<asp:SqlDataSource...
View ArticleMysqlDump.exe file
Hi allI want to create back up of my online web application but I am not able to get path of mysqldump.exe file from server.so please tell me how to get path of mysqldump.exe file from serverThanks in...
View ArticleError at Data Flow Task[OLE DB Destination [36]]: Column "Name" cannot...
I am working on SSIS and i am importing excel data into tables. And i am usingData flow task->Excel Source->Lookup->Multicast->OLE DB, OLE DB, OLE DB.When i want to run the package, i am...
View ArticleA network-related or instance-specific error occurred while establishing a...
I am using NHibernate, Persistence API annd MYSql DB for my ASP.NET web application; and I have the following nhibernate mapping file:<?xml version="1.0" encoding="UTF-8"?><persistence...
View ArticleQuerying a Database for duplicate users
How would I query a database to find duplicate users by a user name? Say the user had a name of joe_smith1 and joe_smith2? How would I find that for the whole table?
View ArticleHow to call stored procedure PostgreSQL using Nhibernate ?
Hello,I want to use the same StoredProcedure(create in sql server) in PostgreSQL.How to call Stored Procedure (PostgreSQL) type return "table" using Nhibernate ??NB : using SQL Server in User.hbm.xml =...
View Articlehow to update existing record
Hi sir,I have plenty of records in my table. X10001 X10002 . . X83322 How can i add 00 in front of the digi? such as..X0010001 X0010002 . . X0083322
View ArticleConvert String to Number
I have a query I am trying to use but I get an error that says "invalid number". I have tried to cast and convert to change the string to a number but I still get the error. How else can I do this?...
View ArticleMysql migration issue -using entity framework
Hello all,We are getting the below error while updating the Mysql database using the "update-database -verbose" command (Entity framework 5.0)You have an error in your SQL syntax; check the manual that...
View ArticleQuery join
Hi there, hope in your help.In my DB MySQL I've two tables: TABLE_LONG and TABLE_SHORT. The two tables are equal but in TABLE_LONG a recording long events and in TABLE_SHORT a recording short events.If...
View ArticleAny problems with this stored procedure?
When I exectute this into Visual Studio its not working.CREATE Procedure RegisterUser @UserTitle varchar(5), @UserPassword varchar(50), @UserName varchar(30), @UserLastName varchar(30), @UserEmail...
View ArticleIssue with a manually instantiated (MySQL) provider
I'm working on a prototype program, which should test different (SessionState, Profile, etc) providers for ASP.NET, i.e. MySQL, Oracle, etc. At the moment I'm using the MySQL provider. I've just...
View Article