Regarding Transact-SQL it is possible to combine multiple statement into one batch. Separate the statements with semi-colon.
If possible I would look into using stored procedures instead. It will help keeping more logic on the backend and allowing re-usal if you want to build a client for another platform.
没有评论:
发表评论