Viewing 15 posts - 3,961 through 3,975 (of 6,486 total)
I've often found that modifying that kind of script to "walk the clustered key" works better.
Also - an "EXISTS" syntax might actually work better. It also makes sure...
March 26, 2008 at 8:04 am
If this IS for a GUI application, then someone needs to hit the books and read up on "normalization".
Exactly how many parameters and/or variables (can't tell what these are)...
March 26, 2008 at 7:44 am
An ugly way to find out is to use a "locked" table. Again - at this point, we're piling ugly code on top of ugly code, so this may...
March 26, 2008 at 7:29 am
Jeff Moden (3/26/2008)
Guess I'm still worried :hehe:Are you generating scripts from the Dev database, every day, to promote to the Production database?
Even if you are - shouldn't you be keeping...
March 26, 2008 at 7:18 am
Alternatively - simply do a "find/replace", replacing your angled brackets with their HTML equivalent.
That's
replace < with <
replace > with >
March 26, 2008 at 7:09 am
Parameters work better when you use sp_executeSQL instead of just EXEC. I'm thinking you could do that using sp_ExecuteSQL.
March 25, 2008 at 6:01 pm
Considering there's a function to do that in .NET - I'd build a CLR function to handle it.
March 25, 2008 at 5:58 pm
Agreed on all counts. I even go one step further - I don't keep huge history files in the same database. So - I use a "local" history file...
March 25, 2008 at 1:45 pm
Jeff Moden (3/24/2008)
Matt Miller (3/24/2008)
It's a bit like hitting a moskito using a 155mm Howitzer...Hmmmm... might have to trade in the ol' slingshot... bet it works real good with porkchops...:D
yup...
March 25, 2008 at 1:28 pm
Have you tried setting the "update statistics" to ON during the detach? (I'm paraphrasing the actual name). It would at least make sure that the stats are...
March 25, 2008 at 12:51 pm
BobM (3/25/2008)
So there is no 'inline' way to update a value before it gets written? Would the update in your trigger cause the same trigger to fire...
March 25, 2008 at 12:46 pm
David Naples (3/25/2008)
March 25, 2008 at 12:43 pm
Chris Gierlack (3/25/2008)
1) LIKE %nn%
2) LIKE %nn
3) LIKE nn%
1 and 2 took...
March 25, 2008 at 12:27 pm
I'm not sure I saw an answer to this - how is the data being used? Is it being access by a common front-end? Do each of the...
March 25, 2008 at 12:20 pm
AVB - we'd need to start with some better specs. Tell us how the file is to be built: what is in the file header, in the invoice header,...
March 25, 2008 at 12:10 pm
Viewing 15 posts - 3,961 through 3,975 (of 6,486 total)