JScript SQL actions and SQL Scripts

Hi,

Can you please tell me where can I find documentation on JScript ? In particular I want to update a record in the database, but sql.Query(script) only works with select statements, I want to do a db Update statement.

Another option is to run an SQL script, but I do not know how to do it as an action. Can anyone let me know how to do it? If there is a tutorial, please send me a link.

Thanks

Never mind, I have to use sql.Exec