Viewing 15 posts - 1,186 through 1,200 (of 1,999 total)
with X (schemaname,tablename,recordcount)
as
(
SELECT s.Name AS SchemaName ,
t.Name AS TableName ,
SUM(p.rows) AS RecordCount
FROM ...
May 18, 2012 at 7:02 am
i think this is correct
UPDATE a
SET a.Age = b.age
from table_1 a left outer join (
SELECT userid,age from table_2 x where recdate=(select MAX(recdate) from table_2 where userid=x.userid and age is...
May 18, 2012 at 6:58 am
hiren
i have done this before - there is an option that you can use, but it depends on how much of the data on your POS server is replicated back.
you...
May 18, 2012 at 6:50 am
also try looking to see how many conversations are still open
select * from sys.conversation_endpoints
maybe your application is not closing the conversations after the messages.
since you've got nothing on the queues,...
May 18, 2012 at 4:54 am
are you using database mirroring? and if so what service pack are you on ?
May 18, 2012 at 4:49 am
sorry - its a bit difficult to diagnose without being able to actually get my hands on the system.
as was posted earlier by someone else - have a look at...
May 18, 2012 at 4:45 am
GilaMonster (5/17/2012)
michael vessey (5/17/2012)
you should be able to free up the space in the tempdb after the operation has completed usinguse tempdb
go
dbcc shrinkfile(2,1)
dbcc shrinkfile(1,1)
Please do not suggest that people...
May 18, 2012 at 2:38 am
adrian.sudirgo (5/17/2012)
michael vessey (5/17/2012)
michael vessey (5/17/2012)
look in sys.transmission_queuethese should be messages that coudn't be delivered may be they are re-trying ?
apologies - i didn't read your post correctly 🙁
how...
May 18, 2012 at 2:18 am
michael vessey (5/17/2012)
look in sys.transmission_queuethese should be messages that coudn't be delivered may be they are re-trying ?
apologies - i didn't read your post correctly 🙁
how about the inbound...
May 17, 2012 at 9:00 am
have a look at this article on troubleshooting service broker
http://www.sqlteam.com/article/how-to-troubleshoot-service-broker-problems
May 17, 2012 at 8:58 am
look in sys.transmission_queue
these should be messages that coudn't be delivered may be they are re-trying ?
May 17, 2012 at 8:57 am
tempdb is used to store temporary tables and data related to sorting (amongst other things)
if your insert required some kind of sort then it's possible tempdb would be increasing -...
May 17, 2012 at 8:48 am
you are migrating data from Access to SQL server - use the ACCESSS TO SQL SERVER MIGRATION WIZARD
May 17, 2012 at 8:29 am
interestingly enough i tried another workarount using a CTE.
it works fine every time - saves you having to use a temp table
🙂
as for whether it's a bug or not, well...
May 17, 2012 at 8:13 am
i also tested it though a cursor and the cursor worked fine...
interestinigly - if you remove the order by clause then the query also works - very frustrating
i've been...
May 17, 2012 at 5:39 am
Viewing 15 posts - 1,186 through 1,200 (of 1,999 total)