Microsoft
Software
Hardware
Network
Question : SQL Insert
I have a sql INSERT statement where I just copy another row of data. The problem is, I do not want to copy the datetimereceived field. I want it to insert the current date and time and then copy the other fields. Does anyone know how to do that, using the GetDate() feature? This is my current stored procedure:
Begin
INSERT INTO Orders (DateTimeReceived, FirstName, LastName) SELECT DateTimeReceived, FirstName, LastName FROM Orders WHERE Variable = @Variable
End
Answer : SQL Insert
Begin
INSERT INTO Orders (DateTimeReceived, FirstName, LastName) SELECT GETDATE(), FirstName, LastName FROM Orders WHERE Variable = @Variable
End
Random Solutions
ActiveX & Java apps suddenly not working in IE7! Also, Media Player won't run.
ASA5505 vpn clients can't talk to inside hosts
Disable Delete
Cannot get Windows to operate on multiple files with right click context menu.
Stalling problem with Outlook 2003 and ACT
Database synchronization between MySQL and AS400
Clipboard problems + WinXP
different between use POP3 , IMP4 and http
deny network access from a specific computer
excel transpose autofill question