Click here to Skip to main content
15,887,135 members
Home / Discussions / Database
   

Database

 
AnswerRe: stored procedure is fast, but slow from code Pin
Mycroft Holmes1-May-09 14:52
professionalMycroft Holmes1-May-09 14:52 
QuestionMySQL: how to call a stored proc with OUT param Pin
devvvy30-Apr-09 20:15
devvvy30-Apr-09 20:15 
QuestionMicrosoft SQL 2008 Pin
Ivan200930-Apr-09 10:20
Ivan200930-Apr-09 10:20 
AnswerRe: Microsoft SQL 2008 Pin
Henry Minute30-Apr-09 11:43
Henry Minute30-Apr-09 11:43 
GeneralRe: Microsoft SQL 2008 Pin
Ivan200930-Apr-09 14:12
Ivan200930-Apr-09 14:12 
GeneralRe: Microsoft SQL 2008 Pin
Mycroft Holmes30-Apr-09 17:50
professionalMycroft Holmes30-Apr-09 17:50 
GeneralRe: Microsoft SQL 2008 Pin
Ivan20091-May-09 6:28
Ivan20091-May-09 6:28 
Questionsystem table sysmergesubscriptions: replacements for distributor and srvid Pin
Roland Bär30-Apr-09 6:03
Roland Bär30-Apr-09 6:03 
Hi
The system table sysmergesubscriptions has changed from SQL Server 2000 to SQL Server 2005. The columns distributor and srvid are no more available. I have a stored procedure that used this columns that is not working when it should be used on an SQL Server 2005 or 2008.

Are there any replacements for this columns and is it possible to use them also on SQL Server 2000?

Here is the query that uses this columns:

DECLARE repl_cur CURSOR FOR
		SELECT
			mp.name,
			me.srvname,
			mp.publisher, 
			mp.publisher_db,
			ms.db_name,
			ms.subscription_type,
			ms.distributor
		FROM
			sysmergepublications mp 
		INNER JOIN
			sysmergesubscriptions ms 
			ON ms.pubid = mp.pubid 
		INNER JOIN 
			master.dbo.sysservers me
			ON ms.srvid = me.srvid
		INNER JOIN 
			sysmergearticles ma 
			ON ma.pubid = ms.pubid 
		WHERE 
			ma.name = 'PasswordCounter' 
			AND ms.subscription_type = 1


Thanks for your help

Greets
Roland



Hi! I'm a signature virus. Copy me into your sig file and help me spread!

Follow your Euro notes in their tracks



Questionlinked server error in sql server Pin
Maddie from Dartford30-Apr-09 3:32
Maddie from Dartford30-Apr-09 3:32 
AnswerRe: linked server error in sql server Pin
Mycroft Holmes30-Apr-09 17:54
professionalMycroft Holmes30-Apr-09 17:54 
Questionselect where only Pin
foryou30-Apr-09 0:58
foryou30-Apr-09 0:58 
AnswerRe: select where only Pin
scottgp30-Apr-09 1:46
professionalscottgp30-Apr-09 1:46 
GeneralRe: select where only Pin
foryou30-Apr-09 2:56
foryou30-Apr-09 2:56 
QuestionUpdate datagridview Pin
hitesh.kalra29-Apr-09 21:41
hitesh.kalra29-Apr-09 21:41 
AnswerRe: Update datagridview Pin
Mycroft Holmes29-Apr-09 22:03
professionalMycroft Holmes29-Apr-09 22:03 
AnswerRe: Update datagridview Pin
Spunky Coder29-Apr-09 22:13
Spunky Coder29-Apr-09 22:13 
AnswerRe: Update datagridview Pin
saanj29-Apr-09 23:56
saanj29-Apr-09 23:56 
QuestionValidate emailaddress Pin
hitesh.kalra29-Apr-09 21:37
hitesh.kalra29-Apr-09 21:37 
AnswerRe: Validate emailaddress Pin
Mycroft Holmes29-Apr-09 22:02
professionalMycroft Holmes29-Apr-09 22:02 
AnswerRe: Validate emailaddress Pin
saanj29-Apr-09 23:58
saanj29-Apr-09 23:58 
QuestionDatagrid view Pin
hitesh.kalra29-Apr-09 21:35
hitesh.kalra29-Apr-09 21:35 
AnswerRe: Datagrid view Pin
Mycroft Holmes29-Apr-09 22:01
professionalMycroft Holmes29-Apr-09 22:01 
AnswerRe: Datagrid view Pin
saanj29-Apr-09 23:59
saanj29-Apr-09 23:59 
QuestionHow to deploy a report to the client machine server? Pin
SIJUTHOMASP29-Apr-09 10:06
professionalSIJUTHOMASP29-Apr-09 10:06 
AnswerRe: How to deploy a report to the client machine server? Pin
saanj30-Apr-09 0:01
saanj30-Apr-09 0:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.