Viewing 15 posts - 31 through 45 (of 615 total)
hoseam (2/7/2014)
I have this codeselect *
INTO Hosea_tempTable
from Hosea_tblDATA_Product_Reports
and I get this error;
There is already an object named 'Hosea_tempTable' in the database
Yes, that's because SELECT INTO attempts...
February 7, 2014 at 4:23 am
Had an interview on Monday morning which I thought went quite well until the last two questions:
1) Where do you see yourself in 5 years time?
2) Your salary expectations for...
February 7, 2014 at 4:21 am
If the target table already exists then you would need to use INSERT INTO
I always prefer to list the column names in my INSERT INTO and SELECT statements, however you...
February 7, 2014 at 4:13 am
ChrisM@Work (1/28/2014)
Gail's suggestion using DENSE_RANK() is well worth a try when you get time.
Is it?
So what happens if I have two records with the same Organisationname but the address1 of...
January 29, 2014 at 3:56 am
Jeff Moden (1/27/2014)
January 28, 2014 at 2:25 am
GilaMonster (1/28/2014)
Abu Dina (1/28/2014)
David Webb-CDS (1/27/2014)
21ST CENTURY SERIVES
21ST CENTURY SERVICES
equal, not because they are, but because they SHOULD be. ...
January 28, 2014 at 2:21 am
ChrisM@Work (1/27/2014)
January 28, 2014 at 2:17 am
David Webb-CDS (1/27/2014)
21ST CENTURY SERIVES
21ST CENTURY SERVICES
equal, not because they are, but because they SHOULD be. Is that true?...
January 28, 2014 at 1:50 am
TheSQLGuru (1/27/2014)
In particular, I am unclear on this statement:
and your task is to add a new column...
January 27, 2014 at 2:43 pm
As requested, sample data below:
The goal is to dedupe the list of 200 records at Site level. A site being company + address.
I look forward to see how you guys...
January 27, 2014 at 1:24 pm
Another way is to copy the run the contents of the below SELECT statement:
SELECT 'SELECT DISTINCT [' + COLUMN_NAME + '] FROM ' + TABLE_NAME
FROM INFORMATION_SCHEMA.COLUMNS
WHERE TABLE_NAME...
January 27, 2014 at 4:54 am
ChrisM@Work (1/27/2014)
January 27, 2014 at 2:36 am
GilaMonster (1/27/2014)
Abu Dina (1/27/2014)
GilaMonster (1/27/2014)
There's far faster and easier ways to find duplicates than what's looks like half a cartesian product.Please share your secret!
As for avoiding blocking, that's easy, use...
January 27, 2014 at 2:34 am
GilaMonster (1/27/2014)
There's far faster and easier ways to find duplicates than what's looks like half a cartesian product.
Please share your secret!
Source table looks like the below:
CREATE TABLE [dbo].[TheTable](
[ID] [int] IDENTITY(1,1)...
January 27, 2014 at 2:17 am
Record linkage once again!
Here I'm looking for records that have the same address! I need to run this query so I can generate a Site ID per record.
January 27, 2014 at 1:27 am
Viewing 15 posts - 31 through 45 (of 615 total)