Viewing 8 posts - 91 through 99 (of 99 total)
John Mitchell-245523 (6/2/2011)
Brainwave! Have a read about synonyms and see whether that helps you.
That does indeed work;
CREATE SYNONUM synName
FOR
[linkedServerName].[databaseName].[dbo].[tableName]
Thanks!
June 3, 2011 at 2:12 am
opc.three (6/2/2011)
CTE, ROW_NUMBER(), PARTITION
Thanks for this! They gave me the platform to, I think, solve the problem;
WITH cte_Clockings AS
(
SELECTE.EMP_Forename, E.EMP_Surname,
ISNULL(CASE C.CLK_Type
WHEN 'I' THEN 'In'
WHEN 'B' THEN 'Out (Break)'
WHEN 'R' THEN...
June 3, 2011 at 2:10 am
Thanks
The CTE trick doesn't seem to work either. Well the solution does work, but it's not doing what I want to achieve.
June 2, 2011 at 8:46 am
John Mitchell-245523 (6/2/2011)
SELECT
Employee
, MAX(ActivityTime) AS ActivityTime
FROM
MyTable
GROUP...
June 2, 2011 at 8:08 am
John Mitchell-245523 (6/2/2011)
but if you run all commands in the context of the one database
That's the 'problem', I connect to one database in my connection string, then reference tables, columns...
June 2, 2011 at 8:06 am
They are the same physical server, so yes the server can ping itself by name and resolve to IP address. As above, the 2 instances are on the same physical...
June 2, 2011 at 7:15 am
OK, my problem is solved; it was a double hop issue between the various devices. Chaning the SQL service account to use Kerberos fixed it.
Another problem; is it possible to...
May 19, 2009 at 7:59 am
Sorry to dig up this old thread, but i've come across this problem.
The route pcs take is:
Client PC -> Web Server (IIS 6.0) -> SQL Server 2005 -> Domain Controllers
I...
April 16, 2009 at 7:15 am
Viewing 8 posts - 91 through 99 (of 99 total)