Viewing 15 posts - 17,071 through 17,085 (of 18,926 total)
Run this in query analyser :
Select 'exec sp_changeObjectOwner [' + O.Name + '], [dbo]' as ExecSQL from dbo.SysObjects O where O.XType = 'U' and UID 1 order by...
June 9, 2005 at 1:26 pm
I said NOT FOR NOVICES.... it took me a fews hours of playing with many different variations to make it work (with the udf problem). It's really not the...
June 9, 2005 at 1:21 pm
Maybe, but untill he tells us why he wants to do that, it's hard to help him.
June 9, 2005 at 1:03 pm
This is just to expand your mind to ultra set based approach. This is no novice query
.
June 9, 2005 at 1:02 pm
Hehe. The final explanation has been posted in another thread :
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=8&messageid=189202
June 9, 2005 at 1:00 pm
Btw this is the simple exemple... I was successfull at avoiding the problems with udfs. Long story short is that tables functions have 2 sets of columns in SysColumns....
June 9, 2005 at 12:58 pm
If you need a suggestion, it would be nice if the report was exported to the server so that we could use your chm file in combinaison of our own...
June 9, 2005 at 12:51 pm
I never said apex wasn't funny, I just said I was funnier as I can interact with humans...
May I ask how you generate the chm file (if it's not a...
June 9, 2005 at 12:48 pm
A little clearer but not enough.
Can you post the table definitions, some sample data along with the desired output??
Gonna be much simpler that way.
June 9, 2005 at 12:46 pm
Hehe, it's not your case YET. Don't forget to think a few years ahead when you design the database. You might get a few surprises if you don't.
June 9, 2005 at 12:45 pm
I strongly suggest that you don't ignore my questions... It's gonna come byte you in the ass down the line.
June 9, 2005 at 12:42 pm
Did it start with _wasys??
Those are statistics, there is also another prefix that is used by the index tuning wizard but I forgot it.
June 9, 2005 at 12:40 pm
Select * from tableA A inner join dbo.TableB B on A.StartDate between B.PeriodStartDate and B.PeriodEndDate
June 9, 2005 at 12:11 pm
Viewing 15 posts - 17,071 through 17,085 (of 18,926 total)