View Single Post
Old 24.04.2007, 11:25   #7
RetaL
Архивный участник
 
Join Date: Mar 2006
Posts: 53
Default

Quote:
Originally Posted by rayovac View Post
I got a message into authd window complaining about a not alowed implicit conversion between datetime and int.

I mean it happens because the procedure is called whith one of its parameters typed as datetime. (In my case the second one)
Just change the parameter type to datetime as RetaL did and sql server will stop complaining about that.
In my case i only change the second parameter and the procedure do absolutely nothing as i dont know what is supposed to do.
Code:
set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
go

ALTER PROCEDURE [dbo].[ap_LogoutWithPoint] @uid int, @time datetime, @point int
AS
If anybody knows how it would work please tell us to write it propperly.
Well,I used profiler to see how it writes the procedure,it looked like
exec ap_LogoutWithPoint "","date/time","date/time"
RetaL is offline