Viewing 15 posts - 226 through 240 (of 240 total)
OK, that helps some. Sounds like you want to do a count of the true (or false) values in a boolean (bit) field.
Two ways. One was just suggested above.
1) Use...
March 30, 2010 at 9:34 am
Your question is a bit unclear. What are the two new boolean columns you want to add? How do you intend to use them?
March 29, 2010 at 5:17 pm
Bhuvnesh (3/26/2010)
InterestingCan you explain, why Non-clustered index after import ?
As was just said, it's frequently quicker to let SQL index the entire table once the data is in it,...
March 26, 2010 at 10:00 am
pablavo (3/24/2010)
I should have added that the main table will be truncated before every import and the new data added to it. So you suggest that it's a good idea...
March 25, 2010 at 2:31 pm
repent_kog_is_near (3/24/2010)
For CRUD, the reason only SP is advised is because of SQL Injection Attack possibility?are there any good times/reasons to allow DML from App code?
Using stored procedures CAN help...
March 24, 2010 at 12:06 pm
I would echo everything Gianluca said -- and add to that a) decisions on your security model (who gets access to what), and b) how you are going to do...
March 24, 2010 at 11:35 am
Not sure I completely follow what you're asking, but let's see if this helps...
Inside of your Order table trigger, you could always do a lookup on the Customer table to...
March 24, 2010 at 11:26 am
In the Maintenance Plan wizard, the Backup Database task, you can use the 'Back up databases across one or more files:' option to specify a specific file to write your...
March 19, 2010 at 12:26 pm
Lynn,
Wow. Very cool, very clever....but with all of the SUBSTRINGing, CHARINDEXing and concatenating going on, is this really more efficient than a simple while loop? (Oh dear, I may have...
March 2, 2010 at 11:34 am
I do know that SSRS passes field(parameter?) lists as a string of comma-separated values. That doesn't require dynamic SQL or even a cursor/while loop to split it apart quickly,...
March 2, 2010 at 11:10 am
You could simplify the query *somewhat* by using a couple of conditionals in the WHERE clause (which would at least leave the SELECT portion of the query common to both...
February 26, 2010 at 4:26 pm
JDixon-385826 (2/24/2010)
February 24, 2010 at 11:44 pm
JDixon --can you explain further? How is using SSIS less of an administrative nightmare than using Transactional Replication -- and how does it cause less fragmentation? If one wants to...
February 22, 2010 at 9:55 pm
Thanks for the reply. We never (at least in normal processing) ever delete anything anyway -- it will get flagged as 'inactive', but will never leave the db. That's part...
February 4, 2010 at 12:41 pm
That's what I had thought would work. We're proceeding down this path...at least until we run up against an insurmountable problem. So far, so good.
Thanks for your input.
February 4, 2010 at 12:33 pm
Viewing 15 posts - 226 through 240 (of 240 total)