Viewing 15 posts - 1 through 15 (of 22 total)
This is SQL query that is getting executing in L1 (linked server).
DELETE a
FROM L2.dbname.dbo.Remote_Table1 a
WHERE a.ID = @ID
AND EXISTS
(SELECT b.invoiceId
FROM Local_Table1 b
INNER JOIN Local_Table2 c...
August 14, 2014 at 12:22 pm
Thank you All.
This is SQL query that is getting executing in L1 (linked server).
DELETE a
FROM L2.dbname.dbo.Remote_Table1 a
WHERE a.ID = @ID
AND EXISTS ...
August 14, 2014 at 12:20 pm
Hi,
The user is making asynchronize call to SSRS reports from webbrowser. And the call is just sending the parameters I mentioned to SSRS Reports, mean time the user can work...
April 13, 2012 at 8:07 am
Hi All,
Thank you so much for your valueable information.
Sri.
August 11, 2011 at 11:55 am
Hi,
No, its just in local system and I used windows account/sql server account to create linked server.
Thanks,
Sri.
October 6, 2010 at 11:03 am
Sort of...
Here the user should able to see the column (SSN) but the data should be hidden.
It that possible ?
Sri.
September 25, 2008 at 12:02 pm
Hi Gail,
select name, is_read_only, is_auto_close_on, is_auto_shrink_on, is_in_standby, is_cleanly_shutdown, recovery_model, state_desc
from sys.databases where name = 'WORKSPACE'
Resultset:
WORKSPACE000003ONLINE
The WORKSPACE database is not corrupted, it works fine once recovered 100%. Only thing...
August 25, 2008 at 8:15 am
Thanks Paul.
Inside log file I don't see the following messages for the available databases when I restart sql server service.
Example:
2008-08-24 15:10:57.07 spid3s ...
August 24, 2008 at 2:18 pm
Yes frequently (1-6 times).
Finally I went to SQL Server (SQL Express) ---> properties --->
connections ---> Allow remote connection to this server = set to 0 (default 600).
Now I don't...
April 29, 2008 at 8:27 am
Check your database in which your stored procedure was running, set the auto_close option to false.
Good Luck!
Sri.
April 16, 2008 at 8:36 am
I don't use these functions in a set based queires, only used for verification purposes/pre-checks.
Thanks guys, thanks miller.
Sri.
March 25, 2008 at 12:45 pm
Hi
Try this on database you are running queries.
alter database set AUTO_CLOSE OFF
March 25, 2008 at 12:11 pm
Thank you so much for your valuable suggestions.
Final question:
There are lots of scenarios at my work where I have to use this type of code, so I wrote procedures instead...
March 25, 2008 at 11:42 am
Hi All,
This is one of the example code.
create table dbo.employee(ename nvarchar(32))
insert dbo.employee values('Sri')
insert dbo.employee values('Mike')
declare @tablename nvarchar(128), @column_name nvarchar(32), @value nvarchar(32)
declare @emp_status bit
select...
March 25, 2008 at 9:21 am
SET TRANSACTION isolation level SERIALIZABLE
begin transaction
if not exists(select [name] from workspace.sys.tables (UPDLOCK ) where [name] = 'sri')
begin
create table workspace.dbo.sri(empno int)
end
if @@error > 0
rollback transaction
else
commit transaction
Is this code looks...
January 14, 2008 at 9:45 am
Viewing 15 posts - 1 through 15 (of 22 total)