Viewing 15 posts - 11,086 through 11,100 (of 18,923 total)
That would be a problem only using dynamic sql. And the users would need that have explicit permissions on the base tables to be able to do any damage....
November 17, 2006 at 8:59 am
That would take a combinaisonn of having all users be dbo and also using some sort of dynamic sql. 2 of the worst practices combined with a malicious user. You...
November 17, 2006 at 8:38 am
Please do not cross-post. It's easier to follow only one thread. Finish this discusison here pls :
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=5&messageid=323833
November 17, 2006 at 8:19 am
This is why he asks you to backup and restore the system databases first. This is where all that info is saved.
November 17, 2006 at 8:19 am
Me too but I can only work with the queries I'm presented with!!!
Well not quite but I got other things to do ATM
.
November 17, 2006 at 8:16 am
Just pass the column names in parameter. I mean you must know 'em somehow since you create the temp table??.
Also you can get the objectid using object_id('tempdb..#ShortTableNameWithoutGarbageCharactersToIdentifyItFromOneSessionToTheOther')
That way you can...
November 17, 2006 at 7:00 am
I never had to report an error to microsoft. Search on MS site.. you should find a way to do it. Other than calling Bill directly
November 17, 2006 at 6:57 am
Happy to help. keep us posted on this pls.
November 17, 2006 at 6:42 am
I see said the blin man.. I guess there are always exception even for set based processing on sql server
.
November 17, 2006 at 6:37 am
It adds 2.7 days to the current datetime.
The best practice is to use the dataadd function but there are exceptions to that
.
November 17, 2006 at 6:33 am
And I think we got a few of those around here
.
November 17, 2006 at 6:30 am
That should give you enough time to take a cofffee break
.
November 17, 2006 at 6:28 am
Don't bother dropping it????
So what happens if all your application stopped using the lines :
MyCn.Close
SET MyCn = Nothing.
Would you still consider this a good pratice
November 17, 2006 at 6:27 am
Please post some sample data and the required output from that data. We won't be able to help without that!
November 17, 2006 at 6:25 am
I might solve the compile error. But it would also change the logic of the case statement. I'm not sure it could work for him at the moment, and for...
November 17, 2006 at 6:23 am
Viewing 15 posts - 11,086 through 11,100 (of 18,923 total)