[Show all top banners]

sumansuman
Replies to this thread:

More by sumansuman
What people are reading
Subscribers
:: Subscribe
Back to: Computer/IT Refresh page to view new replies
 Tips for SQL Server 2000/2005 - III
[VIEWED 1529 TIMES]
SAVE! for ease of future access.
Posted on 05-15-08 11:22 AM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

Part III

If you need to join the result set with another table here is the step

..................................................................................................................

exec sp_serveroption 'IRVN78', 'data access', true

--Example:

use CCL36

go

create table #test1( i int )

insert #test1 values (1)

insert #test1 values (2)

go

create proc sp_test

as

SELECT 2 AS id

go

select *

from #test1 t1 join openquery([IRVN78], '{call CCL36..sp_test}') t2

on t1.i = t2.id

 

To be continue........


 
Posted on 05-15-08 11:32 AM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

hey suman can we start a single thred on SQL instead of Part n Part. and if you use adventureWorks database then it will help to run a query

thanks

 


 


Please Log in! to be able to reply! If you don't have a login, please register here.

YOU CAN ALSO



IN ORDER TO POST!




Within last 30 days
Recommended Popular Threads Controvertial Threads
TPS Re-registration case still pending ..
मन भित्र को पत्रै पत्र!
TPS Work Permit/How long your took?
Guess how many vaccines a one year old baby is given
अमेरिकामा बस्ने प्राय जस्तो नेपालीहरु सबै मध्यम बर्गीय अथवा माथि (higher than middle class)
Travelling to Nepal - TPS AP- PASSPORT
Morning dharahara
Another Song Playing In My Mind
Does the 180 day auto extension apply for TPS?
1974 AD Pinjadako Suga Remixed
Susta Susta Degree Maile REMIXED version
Elderly parents travelling to US (any suggestions besides Special Assistance)?
कल्लाई मुर्ख भन्या ?
ढ्याउ गर्दा दसैँको खसी गनाउच
जाडो, बा र म……
NOTE: The opinions here represent the opinions of the individual posters, and not of Sajha.com. It is not possible for sajha.com to monitor all the postings, since sajha.com merely seeks to provide a cyber location for discussing ideas and concerns related to Nepal and the Nepalis. Please send an email to admin@sajha.com using a valid email address if you want any posting to be considered for deletion. Your request will be handled on a one to one basis. Sajha.com is a service please don't abuse it. - Thanks.

Sajha.com Privacy Policy

Like us in Facebook!

↑ Back to Top
free counters