Viewing 15 posts - 16 through 30 (of 72 total)
ops, there should be something assigned to the @xml_id variable.
it should look like this:
normally user will select 5-8 id from the web page and pass it to db. so,...
February 19, 2009 at 8:32 am
well, here is a simplified version of my scripts:
Table Structure (Actual table consists of > 100 columns and 20 mil records)
---------------
CREATE TABLE [dbo].[mytable](
[id] [int] IDENTITY(1,1) NOT NULL,
[ud_agent_id] [varchar](30) NOT NULL,
[ud_status]...
February 19, 2009 at 1:58 am
i tried use WITH(ROWLOCK) on both.
however, DELETE will be escalated to TAB lock. It will block my UPDATE.
in my production environment, this situation is even worse.
on one hand, one SP...
February 18, 2009 at 6:25 pm
i ran this command to disable lock escalation:
dbcc traceon (1211)
i don't think this is what i want.
February 18, 2009 at 12:53 am
you can try this
stuff(stuff(right('000000'+your_colume,6), 3,0, ':'), 6,0, ':')
February 11, 2009 at 2:07 am
have u setup the trace?
if u haven't, pls refer this doc http://support.microsoft.com/kb/283790
when your trace started, it will store trace files in a folder.
after that, u need to use...
February 11, 2009 at 1:40 am
i think sql server collects the data at the back and store them in resource database (a hidden database).
after that, we can pull the data via DMVs.
this is what i...
February 10, 2009 at 4:37 am
update tblOld
set obsolete = 1
where not exists (
select 1
from tblNew b
where tblOld.c1 = b.c1 and tblOld.c2 = b.c2
)
February 10, 2009 at 4:28 am
i am not sure whether this will help.
normally, i will do a full backup of the db and modify its path during restoration. 🙂
kinda stupid but it works all the...
February 10, 2009 at 4:06 am
In your app, let say, you do somethin like this
dim str_data
str_data = "a unicode string"
'call stored procedure
...
connection.execute "exec sp_insertSomething N'" & str_data & "'"
---------------------
In you sp,
create proc sp_insertSomething @param...
February 10, 2009 at 3:54 am
did u use N'your unicode data' when inserting?
February 10, 2009 at 3:19 am
put the stored procedure in an infinite loop?
in the loop, put something like
WAITFOR DELAY '23:59:59' so that it will only run once a day.
😀
February 10, 2009 at 3:09 am
it looks like you have reach your max throughput of your D: drive (due to you are restoring too many files onto the same drive).
for a 32GB database, why...
February 10, 2009 at 3:01 am
we capture the data from this view every hour.
however, the data looks weird.
at one point, num_of_reads dropped.
Date ...
January 18, 2009 at 11:53 pm
thanks for the suggestions. 🙂
I will contact my system admin to try it out.
Once I got the result, I will post it here.
thank you, again. 🙂
November 18, 2008 at 3:31 am
Viewing 15 posts - 16 through 30 (of 72 total)