MySQL 5.5를 사용 중이고 ASP.net 응용 프로그램과 연결했습니다.부울 데이터 형식이 MySQL에서 작동하지 않는 이유는 무엇입니까?
MySQL 저장 프로 시저 내에서 내 응용 프로그램을 연결하는 데이터 세트를 추가했습니다 !!! 난 내 데이터 집합이 저장 프로 시저를 추가 할 때
CREATE DEFINER=`root`@`localhost` PROCEDURE `SpCatDetailsDML`(
ParDetDescription TEXT,
ParDetDescriptionAR TEXT,
ParPrice INT,
ParCreatedOn DATETIME,
ParDisplayOrder INT,
ParAllowDisplay BOOLEAN,
ParPictureID BIGINT,
ParShowTypeID BIGINT
)
BEGIN-- INSERT --
INSERT INTO cms.tbcatdetails(CatID,CustomerID,DetTitle,DetTitleAR,ShoertDesc,ShoertDescAr,DetDescription,
DetDescriptionAR,Price,CreatedOn,DisplayOrder,AllowDisplay,PictureID,ShowTypeID)
VALUES (ParCatID,ParCustomerID,ParDetTitle,ParDetTitleAR,ParShoertDesc,ParShoertDescAr,ParDetDescription,
ParDetDescriptionAR,ParPrice,ParCreatedOn,ParDisplayOrder,ParAllowDisplay,ParPictureID,ParShowTypeID);
END
이 나에게 부울입니다 ParAllowDisplay 데이터 형식 일 경고 becaues를 표시합니다 :
문제는 내가 좋아하는 BOOLEAN가 포함 된 저장 프로 시저를 호출 할 때이 하나입니다 !! !!
그래서 어떤 제안 ???
변경을 참조? –