security

Technical Article

RE: FTP - Get multiple files

  • Reply

I process a lot of data that belongs to other companies. Much of this data has to first be acquired from various ftp sites. So, I want to ftp in information and then process it, so I use DTS to do the whole shabang. I use the built-in Windows FTP program, FTP.exe, to ftp in […]

You rated this post out of 5. Change rating

2003-04-24

1 reads

Technical Article

RE: SQL Server Hanging when Update Statement Executed

  • Reply

Why don't you run a profiler trace on the stored procedures that the web app is executing , maybe you will find something there . Also look at your stored proc's if they have the with recompile option enables - if so ...disable it , let sql use the buffer manager to read execution plans […]

You rated this post out of 5. Change rating

2003-04-24

Technical Article

RE: find text in database

  • Reply

Another little thing, you will have to play/read up on all the possible values for type, xtype etc to ensure you have the correct "text" type fields. Here's a useful view that I use to get table and column lists, that I wack through an access report. SELECT TOP 100 PERCENT dbo.sysobjects.name AS table_name, dbo.syscolumns.name […]

You rated this post out of 5. Change rating

2003-04-24

1 reads

Technical Article

RE: find text in database

  • Reply

A weird request, but one that could be solved writing some dynamic SQL. 1. Iterate through the list of tables in the database that contain "text" type fields. Probably best declaring a cursor on 'sysobjects' selecting name and id where the xtype = 'U'. You could do it all in one by linking across to […]

You rated this post out of 5. Change rating

2003-04-24

1 reads

Technical Article

RE: Init caps

  • Reply

On a similar note, if my SQL 7 database is set up to be case insensitive, how would I go about checking whether a column is all upper case or not? If I did just a where address1 = upper(address1) I get everything back TIA Andre

You rated this post out of 5. Change rating

2003-04-23

2 reads

Technical Article

RE: Computed columns

  • Reply

Can't speak to the view through EM but, to get the formula I would GUESS that you could script out the table and see the computation associated with that column. Curious if that works so, let me know. Thanks. David

You rated this post out of 5. Change rating

2003-04-23

1 reads

Technical Article

RE: SQL Server Hanging when Update Statement Executed

  • Reply

If you can run sp_who2 and sp_lock, I would start there. When you run sp_who2 look at the BlkBy column to see what process is blocking the others. Check that process out in the sp_lock results and start your troubleshooting there. BOL has some good information on the results from sp_lock that will help you […]

You rated this post out of 5. Change rating

2003-04-23

2 reads

SQLServerCentral Article

Dynamic SQL or Stored Procedure

  • Article

We've had a lot of coverage of dynamic sql (including another great one from Robert Marda later this week) but this one is a little different. Done in a question/answer format, Andy tries to explain to junior developers why dynamic sql is to be avoided, how to do so, what to do when you can't.

2.67 (3)

You rated this post out of 5. Change rating

2005-08-26 (first published: )

48,016 reads

Blogs

Simple Talks Episode 7

By

The season 1, seventh episode of Simple Talks is out. Check it out, with...

A New Word: the McFly effect

By

the McFly Effect – n. the phenomenon of observing your parents interact with people...

Key mappings in Visual Studio Code

By

At a recent conference I was asked how I executed code during my presentation....

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