I want to create a stored procedure that will select all columns from one row of table 1 and insert them as a new record into table 2 of a different database that is located on the same SQL server.
I'm sure I could use the Query designer in my Access ADP to accomplish my goal, however I cannot set up a Linked Server to connect to the table 2 in the other database while working from my remote location. (firewall issues)
I am also adept at ASP programming, and could do the select and insert from a web page where I've already got both application connectionstrings defined, but would prefer to just execute the procedure on my ASP page and let the server do the work in the background.
Could somebody give me a clue (within a stored procedure) how you refer to a table in a different database, but on the same server?
Thanks-
Steve
---------------------------------------
IF WebApplicationProgrammer = True Then
ElectronicSheepHerder = True
End If
I'm sure I could use the Query designer in my Access ADP to accomplish my goal, however I cannot set up a Linked Server to connect to the table 2 in the other database while working from my remote location. (firewall issues)
I am also adept at ASP programming, and could do the select and insert from a web page where I've already got both application connectionstrings defined, but would prefer to just execute the procedure on my ASP page and let the server do the work in the background.
Could somebody give me a clue (within a stored procedure) how you refer to a table in a different database, but on the same server?
Thanks-
Steve
---------------------------------------
IF WebApplicationProgrammer = True Then
ElectronicSheepHerder = True
End If