Click here to Skip to main content
15,914,111 members
Home / Discussions / Database
   

Database

 
GeneralRe: COBOL AND MS SQL Pin
A.R.Bhagirathi31-Aug-07 0:40
A.R.Bhagirathi31-Aug-07 0:40 
GeneralRe: COBOL AND MS SQL Pin
Colin Angus Mackay31-Aug-07 1:02
Colin Angus Mackay31-Aug-07 1:02 
QuestionSQL Subquery Pin
Widgets30-Aug-07 22:50
Widgets30-Aug-07 22:50 
JokeRe: SQL Subquery Pin
Paddy Boyd31-Aug-07 1:22
Paddy Boyd31-Aug-07 1:22 
AnswerRe: SQL Subquery Pin
Expert Coming31-Aug-07 13:51
Expert Coming31-Aug-07 13:51 
AnswerRe: SQL Subquery Pin
Vasudevan Deepak Kumar1-Sep-07 1:27
Vasudevan Deepak Kumar1-Sep-07 1:27 
AnswerRe: SQL Subquery Pin
Widgets3-Sep-07 15:46
Widgets3-Sep-07 15:46 
QuestionProblem with Linked servers between SQL Server 2005 and MSDE 2000 Pin
John Gathogo30-Aug-07 20:19
John Gathogo30-Aug-07 20:19 
I have made an SQL Server 2005 instance (SERVER2005) be a linked server in an MSDE 2000 instance (MSDE2000). Everything is fine with the setup and I can run queries on tables in a database in Server 2005 instance from the MSDE 2000 instance as follows:

SELECT * FROM [SERVER2005].[ContactsDB].[dbo].[Contacts]

This is how I added the linked server to MSDE2000 instance:

USE master;
GO
EXEC sp_addlinkedserver 'SERVER2005', N'SQL Server'
GO

The problem is that if I execute a stored procedure as follows:

DECLARE @ContactID INT
DECLARE @ContactName NVARCHAR(36)

SET @ContactID = 1

EXEC [SERVER2005].[ContactsDB].[dbo].[dalsp_GetContactName] @ContactID, @ContactName OUTPUT

the execution of the stored procedure is not error-free and the following error message accompanies the results: 'A severe error occurred on the current command. The results, if any, should be discarded.'

If I link two SQL Server 2005 instances the execution is smooth. What can the problem be? Is it the provider? Why does executing a SELECT statement not bring and error yet executing a stored procedure bring an error?
AnswerRe: Problem with Linked servers between SQL Server 2005 and MSDE 2000 Pin
John Gathogo30-Aug-07 22:11
John Gathogo30-Aug-07 22:11 
QuestionHow to get values from different tables? Pin
codingrocks30-Aug-07 18:35
codingrocks30-Aug-07 18:35 
AnswerRe: How to get values from different tables? Pin
vimal_yet30-Aug-07 20:08
vimal_yet30-Aug-07 20:08 
AnswerRe: How to get values from different tables? Pin
shivvish30-Aug-07 21:29
shivvish30-Aug-07 21:29 
Questionexporting a data from a windows application (access database) to xml Pin
mcrooks30-Aug-07 12:33
mcrooks30-Aug-07 12:33 
QuestionCreate a database from a DataSet Pin
goldoche30-Aug-07 5:30
goldoche30-Aug-07 5:30 
AnswerRe: Create a database from a DataSet Pin
Dave Kreskowiak30-Aug-07 6:45
mveDave Kreskowiak30-Aug-07 6:45 
Questionhow to store an image Pin
prasadbuddhika30-Aug-07 0:07
prasadbuddhika30-Aug-07 0:07 
AnswerRe: how to store an image Pin
gauthee30-Aug-07 0:35
gauthee30-Aug-07 0:35 
GeneralRe: how to store an image Pin
prasadbuddhika30-Aug-07 0:57
prasadbuddhika30-Aug-07 0:57 
GeneralRe: how to store an image Pin
Pete O'Hanlon30-Aug-07 1:03
mvePete O'Hanlon30-Aug-07 1:03 
GeneralRe: how to store an image Pin
prasadbuddhika30-Aug-07 2:26
prasadbuddhika30-Aug-07 2:26 
AnswerRe: how to store an image Pin
shivvish30-Aug-07 21:23
shivvish30-Aug-07 21:23 
QuestionHow to calculate no of sundays between two dates in sql Pin
ahmedalisha30-Aug-07 0:07
ahmedalisha30-Aug-07 0:07 
AnswerRe: How to calculate no of sundays between two dates in sql Pin
gauthee30-Aug-07 0:41
gauthee30-Aug-07 0:41 
AnswerRe: How to calculate no of sundays between two dates in sql [modified] Pin
John-ph30-Aug-07 1:37
John-ph30-Aug-07 1:37 
GeneralRe: How to calculate no of sundays between two dates in sql Pin
shivvish30-Aug-07 21:18
shivvish30-Aug-07 21:18 

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.