Viewing 15 posts - 76 through 90 (of 616 total)
I have several SQL CLR Table Valued Functions and I'm able to call the same function multiple times with no issues at all. However, my functions don't make web calls.
November 27, 2013 at 8:28 am
Salam! izayak ya mohammed? 😛
Manage the platform backend servers. In addition to database tuning and performance monitoring.
Maybe.. depends on the size of the company.
Take care of the database design...
November 22, 2013 at 7:51 am
SQL_Kills (11/21/2013)
Abu Dina you must have replied when i was replying to the first response, it looks like your script works! Thanks
You're welcome!
Perhaps there is no need for three...
November 21, 2013 at 7:41 am
Three updates looks a bit ugly though... I'm trying to figure out how to do this with one update.
November 21, 2013 at 7:30 am
SQL_Kills (11/21/2013)
I have the following table
CREATE TABLE [dbo].[Orders](
[orderNo] [varchar](10) NOT NULL,
[orderLineNo] [int] NOT NULL,
[product] [varchar](10) NULL,
[orderQty] [int] NULL,
[receivedQty] [int] NULL,
[orderStatus] [varchar](10) NULL
) ON [PRIMARY]
GO
insert into Orders values ('A1000',1,'ABC100',10,10,NULL)
insert into Orders...
November 21, 2013 at 7:25 am
My attempt:
update Orders
set OrderStatus = 'Complete'
WHERE orderNo IN ( select orderNo
from orders
group by orderno
having sum(OrderQty) - sum(receivedQty) = 0)
update Orders
set OrderStatus = 'Some'
WHERE orderNo IN ( select orderNo
from orders
group by...
November 21, 2013 at 7:20 am
Thanks for the confirmation guys.
November 21, 2013 at 3:41 am
jchapman (11/16/2013)
I had forgotten about this post. We did finally convince the IT guys to disable Sophos and we...
November 20, 2013 at 9:37 am
jervyn_almanon (11/20/2013)
I am clueless sir where and what to study first I'm currently reading an ebook on "How to be...
November 20, 2013 at 7:14 am
Firstly, welcome to SCC 😀
There have been loads of discussions on this topic in the past. Try with the search box (top-right) and see what you find.
Here is one I...
November 20, 2013 at 6:56 am
mxy (11/20/2013)
thanks what does 0 mean ? i notice blocking sql(spid 79) is a select statement and blocked sql(spid 81) is an insert.spid 81 wait resource on Lck_M_IX
Can I...
November 20, 2013 at 6:01 am
mote.ajit2 (11/20/2013)
Hi,But I have added one non clustered index column in select list. Now performance in significantly increased.
Perhaps an ORDER BY clause in your query is now using the index...
November 20, 2013 at 5:54 am
dwain.c (11/18/2013)
Abu Dina (11/18/2013)
Ah! Then you need to be introduced to the INTO Clause 😉
A couple of caveats to using this technique:
- All columns created will default to allow NULL...
November 19, 2013 at 7:56 am
Dwain's probably asleep right now.. I think he's from New Zealand. 🙂
Temp tables local with single # or global with ## are always created in tempdb.
Can I suggest you expand...
November 19, 2013 at 7:50 am
Viewing 15 posts - 76 through 90 (of 616 total)