0

I am using "WITH CTE" inside my trigger. So if many users came into my web app, does the performance will be slow. Droping will be automatically happen. Will creation and droping of CTE is more costlier. Is is advisable?

How much can i store using WITH CTE?

Is it same like TEMPORARY TABLE?

pnuts
  • 58,317
  • 11
  • 87
  • 139
Manoj
  • 5,707
  • 19
  • 56
  • 86

1 Answers1

1

A CTE is not a temp table, it's basically a subquery or derived table.

Using a CTE can make your code easier to read

There are some good answers on this question

Community
  • 1
  • 1
gbn
  • 422,506
  • 82
  • 585
  • 676