473,441 Members | 1,881 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,441 software developers and data experts.

Error Code : 1005 Can't create table '.\test\#sql-580_1.frm' (errno: 150)

Errror Code:1005 Can't create table '.\test\#sql-580_1.frm' (errno: 150).....

I got this errror when i tried to create a foregin key.......Please help me out on this error.....
Mar 17 '10 #1
2 2879
ck9663
2,878 Expert 2GB
Could you post the T-SQL used to create the foreign key?


~~ CK
Mar 17 '10 #2
nbiswas
149 100+
Change the CHARSET and COLLATE to utf8 and to utf8_general_ci and then try again.

Hope this will help
Mar 25 '10 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Eric Bragas | last post by:
Good day, Can SQL Server tools (QA, EM) can be installed on a client machine from a full SQL Server installation on a server? I can't find the CD. Thanks for your time. Eric
12
by: Simone | last post by:
Hi! I'm an Italian Boy, Excuse Me for my incorrect language. I have a Server with Windows Server 2003 Enterprise Architect and SQL Server 2000 Enterprise. I'm developing an ASP Web...
2
by: kumar mcmillan | last post by:
hi. I am using a pseudo "pivot table" SQL query to generate a report but I am totally stumped on why the COUNT() function isn't getting me the expected results and was wondering if anyone has some...
1
by: Atia Amin | last post by:
Hi, I am a new member. Hello to every one. I am new in ASP.NET area. I wrote an ASP.NET web application which was running ok with my old laptop. Currently I have given a new laptop. Now I copied...
1
by: prabhun2004 | last post by:
hi all i use postgresql database. There are two databases in that namely 'db1','db2'. In 'db1', thers is a table named as 'table_common'. In 'db2', there is a table named as...
0
by: Chakhari | last post by:
I used a framework that save data in the data base DB2 when i try to save in different tables in the same time there' s an error sql SQL0101N The statement is too long or too complex. ...
3
Plater
by: Plater | last post by:
Using Management Studio (for MS SQL server 8) I had created a table, given a primary key and created a unique key. I then had the management studio "script 'create' to file" and it saved an SQL...
0
by: chetanbhola | last post by:
i m trying to connect my web server from my pc but it shows the error "SQL SERVER DOES NOT EXIT OR ACCESS DENIED CONNECTION OPENED , INVALID CONNECTION OR STRING ATTRIBUTE". while i try from other...
0
by: BobLewiston | last post by:
I've installed SQL Server 2008 Express with Advanced Features, but I've been having so-far insurmountable problems installing the AdventureWorks sample databases. However, I've successfully installed...
1
Sl1ver
by: Sl1ver | last post by:
How would i run a create sql database script programmatically? i want the the user to select the path of the script from a openfiledialog and then run it. then the program saves the db path to a...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.