Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~661 People Reached
Favorite Forums

5 Posted Topics

Member Avatar for lebanese007

Hi lebanese007, If you are wanting a script that you can run to clean up the data in the table you can try the solution below. If this is an ongoing issue then it may be worth looking at putting a check during the insert to stop these additional rows. …

Member Avatar for Zadj
0
179
Member Avatar for sahoong

Hi, The distance calculation that sahoong used appears to work fine. Here is a test script that shows it selects the correct records. [code] Create table #COMPANY ( company_id int, company_name varchar(100), premise varchar(10), street varchar(30), town varchar(100), postcode char(7), x_loc int, y_loc int, ) insert into #COMPANY values(1,'A','','','','',4,3) insert …

Member Avatar for Zadj
0
147
Member Avatar for sprdthword

Hi sprdthword, I've had to do this in the past and found that there are several pitfalls due to the day that the week starts can be changed on the server. I eventually found a solution that appears to always work. It has been running production code for a while …

Member Avatar for Zadj
0
69
Member Avatar for Zadj

Hi, I'm trying get some summary results from two related tables. I'm looking to find the most efficient way to return this data in one result set. The tables can be summed up as follows: [code] MainTable MainID INT, Description VARCHAR(50) Eg: MainID Description 1 John 2 Adam 3 Fred …

Member Avatar for nav33n
0
147
Member Avatar for Zadj

Hi, I've run into a situation where I can not see how to write efficient code to perform a check that I need to do. I am running on MSSQL 2005 The check is to compare a varchar passed in to the stored procedure against the words in a table. …

Member Avatar for Zadj
0
119

The End.