내가이 쿼리 (다른 서버에서 덤프)SQL Server 데이터 삽입
CREATE TABLE [Reservation_reserve_room] (
[id] int NOT NULL ,
[reservation_id] int NULL ,
[room_id] int NULL ,
[room_name] varchar(255) NULL ,
[reserve_date] date NULL ,
[reserve_time_start] time(7) NULL ,
[reserve_time_end] time(7) NULL
)
INSERT INTO [Reservation_reserve_room]
VALUES (N'1', N'1', N'1', N'Monday Room Sermmit', N'2012-03-12', 0x30373A30303A30302E30303030303030, 0x30383A30303A30302E30303030303030);
을 가지고 있지만 때 실행, 그것은
[Err] 42000 - [SQL Server]Implicit conversion from data type varbinary to time is not allowed. Use the CONVERT function to run this query.
내가 그것을 어떻게 해결합니까이 오류가?
"어떻게 수정합니까?" - CONVERT 함수를 사용하십시오 ... –
'CONVERT 함수를 사용하여이 쿼리를 실행하십시오 .'. 심플 스. –
'0x30373A30303A30302E30303030303030 '이란 무엇입니까? 밀리 초, 초, 다른 것? –