security

Technical Article

RE: Using "Like" or Wildcard

  • Reply

Check with profiler that the SQL code you think is being passed to SQL Server is the code that is actually being sent to SQL Server from the asp page. Also, think about using stored procs and parameters for these kind of affairs. Will definitely simplfy matters.

You rated this post out of 5. Change rating

2003-06-12

Technical Article

RE: shrinking database

  • Reply

Have alook at using the DBCC ShrinkFile statement, rather that trying to shrink the entire database with a wizard. DBCC ShrinkFile works on a size parameter, rather than a a post shrink percentage of free space, so is both easier for yourself, and more efficient for sql server.

You rated this post out of 5. Change rating

2003-06-12

2 reads

Technical Article

RE: Clustered SQL Server backup & local drives

  • Reply

quote: Not to labour the point too much but if the intention of the question was to elicit an answer to 'why can't Enterprise Manager see the local drives' then I reckon the answer was phrased wrong It's good to see that also native english speaker have problems with these questions. For me, understanding the […]

You rated this post out of 5. Change rating

2003-06-12

1 reads

Technical Article

RE: Views vs Queries

  • Reply

We use ColdFusion and a ColdFusion based content management system by PaperThin called CommonSpot. I encourage my developers to avoid direct access to tables and to use stored procedures for just about everything. We gained a huge performance boost by using this method. If I understand the process, to run a direct query on a […]

2003-06-12

1 reads

Technical Article

RE: Delete

  • Reply

Got this from someone on this site. I cannot take credit for it. I cannot remember who it was... ALTER TABLE TableWithDuplicates ADD EliminateDuplicates_RowID int NOT NULL IDENTITY(1, 1) DELETE FROM t1 FROM TableWithDuplicates t1 JOIN( SELECT EliminateDuplicates_RowID=MAX(EliminateDuplicates_RowID), Field1, Field2, Field3, Field4 FROM TableWithDuplicates GROUP BY Field1, Field2, Field3, Field4 HAVING COUNT(*) >= 2 ) […]

You rated this post out of 5. Change rating

2003-06-11

Blogs

Monday Monitor Tip: Compliance Checking for Old Versions

By

A customer recently wanted to know if any of their instances were too old...

Making Legend Order Match Segment Order in a Power BI Stacked Column Chart

By

A reader of one of my previous posts pointed out that the legend order...

The Only Valid Test of a Backup is a Restore

By

Please, let me reiterate: The only valid test of a backup is a restore....

Read the latest Blogs

Forums

7 sept, scheduled book

By philip.scott

Comments posted to this topic are about the item 7 sept, scheduled book

7 sept, schedlued article

By philip.scott

Comments posted to this topic are about the item 7 sept, schedlued article

6 sept, published book

By philip.scott

Comments posted to this topic are about the item 6 sept, published book

Visit the forum

Question of the Day

Azure Data Lake Storage Gen 2

Azure Data Lake Storage Gen 2 is built on ...?

See possible answers