Viewing 15 posts - 12,046 through 12,060 (of 15,381 total)
kshah82 (5/8/2012)
1. changes to both tables - show records from both table as a single...
May 8, 2012 at 12:48 pm
Did you put this inside a transaction? If so, just "ROLLBACK TRANSACTION"
May 8, 2012 at 12:43 pm
Something like this?
declare @Delete int, @Update int, @Insert int
delete from bill_detail where bill_detail in (9878506)
and policy = 4236807;
select @Delete = @@ROWCOUNT
update prem set written_prem = 50,
commission_amt = 7.50,
audit_id = USER,
last_modified...
May 8, 2012 at 12:09 pm
al_kessler (5/8/2012)
What about some settings to implement the "shop standard"...
May 8, 2012 at 12:03 pm
vishualsoft (5/8/2012)
I don't get any error. Means role is set.With Best Regards.
Vishal
Another thought is that your connection is being close and therefore you are not on the same application role.
What...
May 8, 2012 at 11:55 am
Something like this?
select * from Employee
where End_Date between @StartDate and @EndDate
select * from Assets
where EndDate between @StartDate and @EndDate
May 8, 2012 at 11:45 am
vishualsoft (5/8/2012)
I don't get any error. Means role is set.With Best Regards.
Vishal
Yeah that means it is something in your code and not on the sql side. I suspect you will...
May 8, 2012 at 11:35 am
Something along these lines?
select b.*
from AutosA a
left join AutosB b on a.PriKey = b.PriKey AND a.Engine <> b.Engine
where b.Engine <> ''
May 8, 2012 at 11:06 am
rabisco (5/8/2012)
Sean Lange (5/8/2012)
rabisco (5/8/2012)
Hi Sean,
was the ddl and sample data I posted useful?
Thanks.
Well it certainly demonstrated the problem. Is this a one time thing or something you need to...
May 8, 2012 at 10:53 am
mintsql (5/8/2012)
1. If I query two tables for their non blank columnZ, and tableA has 883 more non rows of that...
May 8, 2012 at 10:45 am
rabisco (5/8/2012)
Hi Sean,
was the ddl and sample data I posted useful?
Thanks.
Well it certainly demonstrated the problem. Is this a one time thing or something you need to run regularly? If...
May 8, 2012 at 10:38 am
mintsql (5/8/2012)
I am trying to figure out the following:
I have two queries:
1. Select * from tableA where colA <> ''
2. Select * from TableB where colA <> ''
For #1 there...
May 8, 2012 at 10:23 am
What happens if you run the following code in SSMS?
EXEC sp_setapprole 'APP_USER_APP', 'test123'
Select * from Table1
May 8, 2012 at 10:12 am
Hi and welcome to SSC! Please take a look at the first link in my signature for best practices on posting questions. At the very least we need ddl, sample...
May 8, 2012 at 9:33 am
Lynn Pettis (5/8/2012)
You don't. SSC forum threads stay open.
Yes, I finally beat "fast fingers" Lynn to a response. 😛
May 8, 2012 at 8:43 am
Viewing 15 posts - 12,046 through 12,060 (of 15,381 total)