Viewing 15 posts - 6,961 through 6,975 (of 7,187 total)
Had any configuration change been made before the restart that wouldn't take effect until after the restart, for example authentication mode, TCP port? Check the users/PCs that can't connect and...
July 13, 2006 at 6:41 am
I take it that where duplicates exist in the column that is supposed to be unique, you want to insert one row only? If that is the case, you will...
July 12, 2006 at 7:35 am
Brian
It depends on the format your full names are in. Is it "Lastname, Firstname" or "Firstname Lastname"? Are titles and/or middle names included in the full names? How will you...
July 12, 2006 at 7:04 am
Yes, you can use a staging table, but you'll still have to deal with the duplicates in your data at some point.
John
July 12, 2006 at 6:55 am
I'm guessing that the connection your UserControl uses and the connection you use to execute the INSERT INTO statement have different values for QUOTED_IDENTIFIER. Have a look at the SET...
July 12, 2006 at 5:05 am
And there are still users in the database that you can't delete because it says they own objects?
John
July 12, 2006 at 4:02 am
Not tested...
SELECT c.vcPostcode, COUNT(r.SFID), COUNT(t.iCALL_RESULT_ID)
FROM Customer c LEFT JOIN Contact_Result r
ON c.SFID = r.SFID
LEFT JOIN Contact_type t
ON r.iCALL_RESULT_ID = t.iCALL_RESULT_ID
AND t.Description = 'SALE'
John
July 12, 2006 at 3:57 am
Mark
In the absence of any sample data, I've used the Northwind database. This query finds the second highest value of Freight for each CustomerID in the Orders table. You should...
July 12, 2006 at 3:29 am
G
You don't provide your table definitions, but I imagine that if you try to fit nvarchar(4000) data into several columns in the same table, it is unlikely to fit. nvarchar(4000)...
July 12, 2006 at 2:24 am
Do you need objects owned by different owners, or are you aiming for the recommended practice of having everything owned by dbo?
The following query will give you a list of...
July 12, 2006 at 2:14 am
You do it in exactly the same way as you did the first one. You will need a new IP address from your network administrator before you start, and you...
July 12, 2006 at 1:52 am
Robert
Or create a view of the two joined tables and update that?
John
July 11, 2006 at 8:55 am
Reet
What I'd say about indexed views is that just because you can create one, it doesn't necessarily mean you should. In my opinion, it's more important to have proper indexing...
July 11, 2006 at 7:06 am
Jules
Unfortunately that won't work. From Books Online (Creating an Indexed View):
The SELECT statement in the view cannot contain these Transact-SQL syntax elements:
.
.
.
This is...
July 11, 2006 at 6:34 am
Reet
Just a few ideas:
What indexes do you have on the seven underlying tables? Look at the execution plan of the query and look for table scans or clustered index scans. ...
July 11, 2006 at 4:14 am
Viewing 15 posts - 6,961 through 6,975 (of 7,187 total)