Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- If OBJECT_ID('#SampleMath') Is Not Null
- Drop Table #SampleMath;
- Go
- Create Table #SampleMath(
- PK bigint identity(1,1))
- Go
- Insert Into #SampleMath Default Values;
- Go 400
- Select Sum(log(tS1.PK + tS2.PK)
- + log(tS2.PK + tS3.PK)
- + log(tS3.PK + tS4.PK)
- + log(tS4.PK + tS5.PK)
- + log(tS5.PK + tS1.PK))
- From #SampleMath tS1
- Cross Join #SampleMath tS2
- Cross Join #SampleMath tS3
- Cross Join #SampleMath tS4
- Cross Join #SampleMath tS5;
- Go
- Drop Table #SampleMath;
- Go
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement