Viewing 15 posts - 196 through 210 (of 265 total)
You can do it this way....
create proc abc123 as
exec('CREATE DEFAULT dftMyDefault AS ''0''')
Cheers,
Prakash
September 23, 2002 at 11:17 pm
Even spid is showing status as sleeping sometimes it does working internally.
To verift check the master..sysprocesses table for that spid and the value for waitinresource column, is always changing
Prakash
September 20, 2002 at 12:08 am
I think you should use dynamic sql to achive this.
Secondly sysindexes is not always return correct result so do a select count(*) and probably use a union to join these...
September 20, 2002 at 12:05 am
Try after recompiling it again
secong think which can be done is put timestamp and see while running procedure internally which procedure is taking long.
Prakash
September 19, 2002 at 11:54 pm
This is another way to do this.....
drop table abc
create table abc (id int, v1 int, v2 int)
insert into abc values (1,1,1)
insert into abc (id) values (2)
insert into abc (id,v2) values...
September 19, 2002 at 11:37 pm
R u using transactions?
It happens because of transactions sometimes, You need to commit such transactions to avoid locks.
if you don't mind selecting non committed data then you can use
select...
September 18, 2002 at 1:46 am
Have you tried dynamic sql and global temp table combination for this??
Prakash
September 17, 2002 at 5:45 am
May be this:
Check the second tab after selecting the database backup and see if the database related details are available or not. If not then database backup has problem
Prakash
September 17, 2002 at 5:18 am
Try connecting with ODBC dsn i got the same problem while using TCP/IP and Named pipe connections. Change the connection property to named pipe and see if it works....
Prakash
September 17, 2002 at 3:34 am
XP's are calling dll's to do the task....
Prakash
September 17, 2002 at 3:31 am
I think you are usind ADO to do this....
The problem comes because of two properties:
1: clintside connection property to be set for connection object
2: connectiontimeout needs to be set to...
September 17, 2002 at 3:29 am
Try removing sa as a user from the database and then run this command....
Prakash
September 17, 2002 at 3:15 am
A thought..
select * from sysprocesses and then for all spid's run dbcc inputbuffer for all spid's to find out what all is going on ur server/database
by killing some spid's may...
September 13, 2002 at 4:32 am
I think ur problem is related to this link....
Prakash
September 13, 2002 at 1:30 am
Viewing 15 posts - 196 through 210 (of 265 total)