Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
TheVid
Starting Member
1 Post |
Posted - 2008-03-28 : 14:20:23
|
Hello there! Can someone please help me with this:My table(Alert_Data) has a field(Last_Triggered_Date) of type datetime and I'm trying to execute the queryUPDATE Alert_Data SET Last_Triggered_Date = DateTime.Now WHERE Alert_Id='pvr'Basically, I'm trying to set the Last_Triggered_Date to the current time. But when i try executing this I get the Error "The multi-part identifier "DateTime.Now" could not be bound"HELP! What do I do? |
|
NeilG
Aged Yak Warrior
530 Posts |
Posted - 2008-03-28 : 14:27:16
|
should the datetime.now not be getdate() f |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2008-04-02 : 02:51:48
|
DateTime.Now is .NET systax MadhivananFailing to plan is Planning to fail |
|
|
|
|
|