Viewing 10 posts - 16 through 25 (of 25 total)
It does appear I do not have permissions to create a view. So your saying the only other option is to write the query as an indexed view?
August 21, 2017 at 10:04 am
I am not sure as I have never worked with persisted column or indexed views before. Guess I would need to determine how to use each and attempt to see...
August 21, 2017 at 9:40 am
First off I want to say Thank You. It is my first time posting to a SQL forum and I am still learning, and appreciate everyones patience.
The values contained in...
November 30, 2012 at 6:58 pm
Can these two pieces of code be combined into one query?
November 30, 2012 at 5:18 am
Thank you for the reply.
Do I need to change/replace anything in the code you provided?
November 29, 2012 at 8:50 pm
Not sure if my last post was correct or not.
I was thinking maybe I could do some sort of Group by and then do a Count of Spc <= 2...
November 29, 2012 at 8:44 pm
Ok I think I did this correct.
--===== If the test table already exists, drop it
IF OBJECT_ID('TempDB..#mytable','U') IS NOT NULL
...
November 29, 2012 at 2:41 pm
Thanks Craig! I will review the information.
November 29, 2012 at 2:01 pm
Can this even be accomplished?
It probably can not be accomplished, but figured it was worth asking.
November 29, 2012 at 1:55 pm
I do not have anything as I am even sure where to begin. I am a novice with SQL 2008 and this query is more complex.
November 28, 2012 at 5:34 pm
Viewing 10 posts - 16 through 25 (of 25 total)