Viewing 15 posts - 1,486 through 1,500 (of 1,825 total)
Matt Whitfield (9/14/2009)
Bob Hovious (9/14/2009)
It means Ni?Does it always?
No, not when the knights who say ni are no longer the knights who say ni, but the knights who say 'ekki-ekki-ekki-pitang-zoom-boing'....
September 14, 2009 at 8:05 am
Is there any issue with this thread not showing in the 'Active Threads' menu item ?
September 14, 2009 at 6:44 am
Log your data to a table variable.
declare @table table
(
col1 integer)
begin transaction
insert into @table values(1)
rollback
select * from @table
September 14, 2009 at 6:42 am
I stand corrected 😉
Just to further clarify what Paul said....
drop View VwNewCheck
go
Create View VwNewCheck
with schemabinding
as
Select abs(checksum(NewId())) as New_Id
go
Drop FUNCTION dbo.fn_test2
go
CREATE FUNCTION dbo.fn_test2()
RETURNS table
WITH SCHEMABINDING
AS
return
select New_Id from dbo.VwNewCheck ...
September 14, 2009 at 6:30 am
Are you calling the stored proc correctly ?, you need to specify OUTPUT at the caller level if you expect a value.
September 14, 2009 at 3:31 am
ravi4work (9/14/2009)
select * from vehicle_det A
where duehours= (select min(duehours) from vehicle_det where vehicle=...
September 14, 2009 at 3:18 am
nothing happens "at the same time", one event has the follow the next.
If the insert happened milliseconds before the select , depending on you isolation level, the select would...
September 14, 2009 at 3:01 am
Think these guys are on the same course ? No conferring now gentlemen 🙂
http://www.sqlservercentral.com/Forums/Topic787196-146-1.aspx
http://www.sqlservercentral.com/Forums/Topic787221-338-1.aspx
September 14, 2009 at 1:59 am
September 14, 2009 at 1:56 am
BOL States (http://msdn.microsoft.com/en-us/library/aa175085(SQL.80).aspx)
Modifications to database tables, operations on cursors that are not local to the function, sending e-mail, attempting a catalog modification, and generating a result set that is returned...
September 14, 2009 at 1:39 am
Sorry , but i dont understand the problem. Are you creating a rolling balance column ?
Can you post the code you presently have that may make things easier.
September 14, 2009 at 1:20 am
Simply put no.
You could through dynamic SQL , but i would suspect your design is wrong if you need to do this to meet you business needs
September 11, 2009 at 7:19 am
KB (9/11/2009)
Yes, I tried both, seems both are running faster.
I do not have permissions to see the execution plan. But better than NOT IN.
Glad of that.
TBH , i didnt know...
September 11, 2009 at 7:15 am
Except might be better
Select name from myTable
except
select productName from myAnotherTable
where productCode = 'SomeProduct'
September 11, 2009 at 6:28 am
Viewing 15 posts - 1,486 through 1,500 (of 1,825 total)