Creating tables dynamically at runtime

前端 未结 5 1791
情话喂你
情话喂你 2021-01-18 23:11

Is creating a table dynamically at runtime based on a user\'s interactions a good or bad thing for a web-app? (I\'m talking java, but question probably applies to more).

5条回答
  •  滥情空心
    2021-01-19 00:01

    As for SQL-Server, it's a very common practice to create temp-tables, table variables, use table-valued functions, etc. For example, it would be done in a database stored procedure that is called by your web application.

    There is no hard and fast rule that I know if that says it's good or bad -- depends on the situation.

提交回复
热议问题