• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Can this be done in sql server 2000 without dynamic sql?

SelArom

Senior member
I'm trying to set up a very simple blog application but I want it to have support for multiple blogs running from a single database. a lot of mysql applciations do this, using table prefixes to differentiate between the different installations...

i'm assuming then that these mysql applications all use dynamic sql to generate the queries on the fly so that they can access a specific table... so my first question is this: aren't they not supposed to do that? how do they prevent attacks?

but my main question is, how can I match this functionality using sql server 2000? or can it not even be done?

thanks!
-SelArom
 
Why not add a column like BLOG_ID that uniquely identifies the blog the row is associated with? Based on the requirements you listed, there's no reason that table prefixes need to be used.
 
Back
Top