Viewing 15 posts - 46,711 through 46,725 (of 49,571 total)
Then you're asking for SQL injection.
If I may suggest...
Look into moving code into stored procs and calling with parameters. It's a far more secure way of doing things.
How are...
May 6, 2008 at 1:52 am
It's an option, though the encryption is trivial to undo. There are a number of utils available on the web to decrypt 2000 or 2005 stored proc encryption.
There's no real...
May 6, 2008 at 12:33 am
Are you sure that every possible place that input is entered (including query strings) is checked for injection?
Are you building up SQL statements and executing them or are you using...
May 6, 2008 at 12:24 am
I would recommend a clustered index on that table. Without knowing what other queries run and how the data's distributed, I can't recommend what column to put it on.
May 6, 2008 at 12:19 am
The optimiser's very good usually. This is just an edge case where its estimate is wrong. Possibly because the table's a heap, not a cluster.
If you don't have a clustered...
May 5, 2008 at 2:20 pm
I can't remember offhand. I did read it somewhere.
I think it's around 100 pages, but don't quote me on that. I'll see if I can find the source article tomorrow.
May 5, 2008 at 2:16 pm
Depends how much usage your tempDB gets. How big is the file set for now?
For the proportional fill to work, all the files should be the same size, so autogrow...
May 5, 2008 at 1:21 pm
Good point. What kind of data is in this database?
May 5, 2008 at 1:17 pm
What error do you get when you try to drop it?
May 5, 2008 at 1:00 pm
Because fragmentation has very little meaning on such small tables. Logical fragmentation is defined as the number of out of order pages. With only 1 page in the table it's...
May 5, 2008 at 12:59 pm
Ok.
My guess. As far as the optimiser's concerned, the query returns too many rows for a seek/bookmark lookup to be optimal, and the index is not covering. Hence it uses...
May 5, 2008 at 12:57 pm
Q (5/5/2008)
• Create many files to maximize disk bandwidth and to reduce contention in allocation structures. As a general guideline, create one data file per CPU. Each file...
May 5, 2008 at 12:49 pm
The consider yourself lucky you still have a database.
If you want recommendations for your boss -
Change the web user to have the minimum required privileges
Go through...
May 5, 2008 at 12:47 pm
Google 'SQL injection' then fix the web front end so that it checks input and uses parameters properly.
Forget delete statement. What if it had been a drop table or drop...
May 5, 2008 at 12:37 pm
Can you post table schema, index definition, query and aprox rowcount affected by the query please?
It's probably because the index is not covering, and query affects enough rows that the...
May 5, 2008 at 12:35 pm
Viewing 15 posts - 46,711 through 46,725 (of 49,571 total)