Viewing 8 posts - 1 through 8 (of 8 total)
I figured it out. Apparently I can order sub-queries as long as I provide a alias.
Well this works:
SELECT *
FROM
(
SELECT TOP 100 *
...
December 3, 2014 at 6:06 pm
See post by AlexS. I'm trying to get LAST rows while preserving order.
December 3, 2014 at 6:01 pm
Remove the single quote just prior to RIGHT and remove the trailing % and the single quote that follows it.
Thanks Jeff. I went a little single quote happy.
November 18, 2014 at 1:09 am
I created 2 other dollar sign ($) logins with no problems. Any other ways of adding login without doing a Active Directory check?
October 11, 2014 at 9:28 pm
Jack:
What would be the correct syntax using 'localhost'?
I've tried the following connection strings:
Application("dbdsn")="data source=localhost;integrated security=true;Database=TestDB"
Error:
Server Error in '/' Application.
Cannot open database "TestDB" requested by the login. The login failed.
Login failed...
March 14, 2008 at 12:49 pm
Jack:
My connection string is already using 'localhost'
Receiving this error:
Server Error in '/' Application.
Cannot open database "TESTSERVER.TestDB" requested by the login. The login failed.
Login failed for user 'NT AUTHORITY\NETWORK SERVICE'.
Could there...
March 14, 2008 at 12:14 pm
Jack:
In Sql Server 2005, I ran the below Query:
EXEC sp_addlinkedserver
'TESTSERVER',
N'SQL Server'
GO
Replace TESTSERVER with your server you want to link.
March 13, 2008 at 6:05 pm
I've created a domain account called MYDOMAIN\SQLTEST1
(?) What areas in Sql Server 2005 do I need to grant this domain account permission to?
I am assuming permission rights must be granted...
March 13, 2008 at 6:03 pm
Viewing 8 posts - 1 through 8 (of 8 total)