Hi
I am getting the following error message when I try to put the datetime between strings
Invalid operator for data type. Operator equals boolean AND, type equals datetime.
The code is:
INSERT INTO AdminAlerts values (CURRENT_USER, 'INSERT', getDate(), @biui, 'Booked room number ' & @rn & ' on ' & @gd & ', Customer ID: ' & @ci & ' and Booking ID: ' & @biui)
@gd is where the error is, it is a datetime.
Anyone knows whats wrong?