Viewing 15 posts - 4,681 through 4,695 (of 6,395 total)
Hi, the below should get you want you need based on your details.
If not, please follow the second link in my signature on how to post code and data so...
June 11, 2012 at 6:04 am
Duplicate post, didn't see this, this morning when looking through the topics
http://www.sqlservercentral.com/Forums/Topic1313689-145-1.aspx#bm1313709
June 11, 2012 at 5:59 am
change the FROM clause to point to your table in question
June 11, 2012 at 5:55 am
so you will need the following rules
LocalIPAddress on ANY port to RemoteIPAddress Port 1433 -- Local Firewall
RemoteIPAddress Port 1433 to LocalIPAddress ANY port -- Remote Firewall
June 11, 2012 at 5:54 am
Probably a better way to do it but heres my first quick go
declare @tab table (filepath nvarchar(100))
insert into @tab values ('H:\FOLDER\123456\document1.doc'),
('H:\FOLDER\1234\document2.doc'),
('H:\FOLDER\98765\document1.doc')
SELECT
Filepath,
LEFT(REPLACE(filepath,'H:\Folder\',''),(CHARINDEX('\',REPLACE(filepath,'H:\Folder\',''),1)-1))
FROM
@tab
June 11, 2012 at 5:38 am
Nope, SQL wont allow files to be on network drives, they have to be on local storage only.
June 11, 2012 at 5:16 am
Is that IP external facing or internal facing?
Do you know the port numbers the server is using? http://support.microsoft.com/kb/287932
Do you have a SQL authentication account ready on that server to login...
June 11, 2012 at 4:57 am
A self join will do the trick
declare @tab table (name nvarchar(100), MemberID INT, PrimaryID INT, Expiration DATE)
insert into @tab values
('John Smith',1024,null,'2013-01-01'),
('Mary Smith',1025,1024,'2013-01-15'),
('Jim Smith',2033,1024,'2013-01-18'),
('Kate Smith',2100,1024,'2013-01-17')
select * from @tab
UPDATE t
SET...
June 11, 2012 at 4:54 am
Does the remote SQL server have an external IP address? If not it needs one, or you need to put some routing in place which routes SQL packets coming...
June 11, 2012 at 4:49 am
Depends on how you want to connect to SQL.
There are two main options
1, get a machine on the remote site which you have RDP access to and have SSMS installed...
June 11, 2012 at 4:39 am
First, please may I say that you need to switch caps lock off.
Second please follow the second link in my signature on how to post code and data for the...
June 11, 2012 at 4:33 am
Gold Digger, now your talking my kind of tipple, other than that Red Beard, Bank Top Blonde, Bad to the Bone, Sweeney's or Barley to Beer are by far a...
June 11, 2012 at 3:22 am
SQLDBA360 (6/11/2012)
Sounds like a night out wit Wayne...
June 11, 2012 at 3:02 am
I'll second that with Waitrose, nearest one is in Manchester city center and is quite small so the selection is limited, other than that the biggest one is in Cheadle....
June 11, 2012 at 2:20 am
As Asda have a 2 for £3 deal on ale, I thought it would be rude of me not to pick up a few new ones to try and I...
June 11, 2012 at 2:03 am
Viewing 15 posts - 4,681 through 4,695 (of 6,395 total)