AD

Technical Article

Importing a ''multiple'' space delimited text file into SQL

  • Topic

I am trying to import a text file (a log file generated by another program) into SQL. The log file on the face of looks nicely formatted, however upon closer inspection, they are not tabs or spaces but multiple spaces! the number of spaces can differ widely depending on the first columns value. Thus when I […]

You rated this post out of 5. Change rating

2005-01-04

76 reads

Technical Article

RE: how to automate profiler

  • Reply

You should set off your Profiler and then disconnect instead of logging off in terminal services.  When you log off your session closes and anything you are doing stops too.  Just pick disconnect.  However, this will hold a session open and could potentially cause others to not be able to TS into the box.

You rated this post out of 5. Change rating

2004-08-27

Technical Article

RE: Worst Practices - Not Using Primary Keys and Clustered Indexes

  • Reply

I am a fan of using Identity columns as  primary key and then if appropriate using the "natural" key as unique clustered index.  Since the promary key is what should be used as a foriegn key I don't like the idea of having that piece of data editable.  Also witha a composite key there are […]

You rated this post out of 5. Change rating

2004-02-06

Technical Article

RE: Simple query help

  • Reply

Don't use the table names in the select list:CREATE VIEW IMEXtrlrUtilUNIONasapSM_VW as SELECT top 100 percent OrderNbr, City, Shipper, Weight from IMEXtrlrUtilShipMat_VW Union select top 100 percent OrderNbr, City, Shipper, Weight from IMEXtrlrUtilASAP_VW ORDER BY OrderNbr, City, Shipper For the record, even if not including and Order By clause, I advocate never using Select * […]

You rated this post out of 5. Change rating

2004-01-20

Blogs

How I implemented database migration on AWS using AWS DMS

By

As a Software Engineer, I would like to replicate a copy of my database...

My personal experience dockerizing a Rust Application: Deploy to AWS ECR using Github Actions

By

I have heard about many interesting things about programming in Rust and I decided...

The Importance of Patch Management to Avoid Downtime

By

A recent Microsoft outage caused by a bad patch pushed out to Windows instances...

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