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

Database

 
AnswerRe: Jan-December chart with specific information Pin
riced25-Jun-10 1:21
riced25-Jun-10 1:21 
GeneralRe: Jan-December chart with specific information Pin
Dave McCool25-Jun-10 1:39
Dave McCool25-Jun-10 1:39 
Questionsql function to calculate work hours of an employee Pin
Thanusree Duth24-Jun-10 21:03
Thanusree Duth24-Jun-10 21:03 
AnswerRe: sql function to calculate work hours of an employee Pin
thatraja24-Jun-10 23:56
professionalthatraja24-Jun-10 23:56 
QuestionQuery to get all row values as comma separated Pin
indian14324-Jun-10 9:14
indian14324-Jun-10 9:14 
AnswerRe: Query to get all row values as comma separated Pin
Mycroft Holmes24-Jun-10 11:55
professionalMycroft Holmes24-Jun-10 11:55 
QuestionHow to avoid specification of return parameters in an inline table function Pin
jophinmichael24-Jun-10 3:05
jophinmichael24-Jun-10 3:05 
QuestionLogin Fail for user 'XYZ' Pin
Sasmi_Office24-Jun-10 2:19
Sasmi_Office24-Jun-10 2:19 
Dear Friend's,

My Issue scenario is as follow's

i have two servers Name
"Server_A"
"Server_B"


In "Server_A" i have one Database "DB1"
In "Server_B" i have one Database "DB2"


in Database "DB1" of Server "Server_A" i have one table "tbl_ListOfCountry"

now as per my business logic that table must be centralize where my client will update information and i need to use this table data in "Server_B".

For that i have create one procedure which pull all the data of table "tbl_ListOfCountry" from "Server_A".

for that i have created Synonym "tbl_ListOfCountry"
using following syntex

CREATE SYNONYM [dbo].[tbl_ListOfCountry] FOR [Server_A].[DB1].[dbo].[tbl_ListOfCountry]


now for security purpose i have created one user "user1" with "Server Role" as "Public" and "User Mapping" as "db_datareader", "db_datawriter" and "public" in "Server_B"

and Grant As Execute Permission of this user to my procedure "Proc1" which use to pull the record.

now the main issue is started

whenever i execute that procedure "Proc1" using "user1" login instead of "sa" it give me error

Msg 18456, Level 14, State 1, Line 1
Login failed for user 'user1'.

Please, help me to overcome this issue...


Thanks in advanced..
Sasmi

QuestionRe: Login Fail for user 'XYZ' Pin
Chris Meech24-Jun-10 2:53
Chris Meech24-Jun-10 2:53 
AnswerRe: Login Fail for user 'XYZ' Pin
Sasmi_Office24-Jun-10 4:38
Sasmi_Office24-Jun-10 4:38 
GeneralRe: Login Fail for user 'XYZ' Pin
Chris Meech24-Jun-10 4:46
Chris Meech24-Jun-10 4:46 
Questionsql function to calculate work hours Pin
Athira.G.Krishnan24-Jun-10 2:11
Athira.G.Krishnan24-Jun-10 2:11 
AnswerRe: sql function to calculate work hours Pin
Scubapro24-Jun-10 4:18
Scubapro24-Jun-10 4:18 
AnswerRe: sql function to calculate work hours Pin
David Mujica24-Jun-10 6:16
David Mujica24-Jun-10 6:16 
GeneralRe: sql function to calculate work hours Pin
CitrusTech24-Jun-10 21:01
CitrusTech24-Jun-10 21:01 
QuestionGroup By 30 Minutes Pin
It_tech23-Jun-10 23:42
It_tech23-Jun-10 23:42 
AnswerRe: Group By 30 Minutes Pin
Mycroft Holmes24-Jun-10 1:04
professionalMycroft Holmes24-Jun-10 1:04 
GeneralRe: Group By 30 Minutes Pin
It_tech24-Jun-10 2:59
It_tech24-Jun-10 2:59 
AnswerRe: Group By 30 Minutes Pin
J4amieC24-Jun-10 3:31
J4amieC24-Jun-10 3:31 
GeneralRe: Group By 30 Minutes Pin
It_tech24-Jun-10 3:56
It_tech24-Jun-10 3:56 
GeneralRe: Group By 30 Minutes Pin
J4amieC24-Jun-10 6:15
J4amieC24-Jun-10 6:15 
GeneralRe: Group By 30 Minutes Pin
It_tech24-Jun-10 6:20
It_tech24-Jun-10 6:20 
GeneralRe: Group By 30 Minutes Pin
Mycroft Holmes24-Jun-10 11:49
professionalMycroft Holmes24-Jun-10 11:49 
GeneralRe: Group By 30 Minutes Pin
It_tech25-Jun-10 0:50
It_tech25-Jun-10 0:50 
QuestionTrigger Issue Pin
Elizma23-Jun-10 23:08
Elizma23-Jun-10 23:08 

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.