Viewing 15 posts - 106 through 120 (of 683 total)
Have you tried setting the transaction isolation level?
SET TRANSACTION ISOLATION LEVEL SERIALIZABLE
Do this inside the body of the stored proc, before you declare the cursor.
October 28, 2008 at 9:56 am
eseosaoregie (10/28/2008)
October 28, 2008 at 9:26 am
eseosaoregie (10/28/2008)
October 28, 2008 at 8:10 am
siddartha pal (10/28/2008)
October 28, 2008 at 7:23 am
siddartha pal (10/28/2008)
October 28, 2008 at 6:39 am
FreeHansje (7/22/2008)
I am still curious why the file is chopped up. Is there some setting I should check? Tried to find info...
July 22, 2008 at 6:58 am
I'm not sure if there's a way simple way to concatenate the files. But you could automate loading them all into a table.
Use xp_dirtree to get the list of...
July 22, 2008 at 5:40 am
Martin Harrison (7/16/2008)
Recently a victim of a sql injection attack on our server. The exploit queried the sysobjects table and then pasted malicious code throughout varchar/text field of our database.
What...
July 16, 2008 at 4:03 am
In this situation what you'd want to do is normalize a little by splitting the table into two tables.
You'd have one table, called Course (for example) that contains all of...
May 15, 2008 at 8:30 am
Sanaullah (5/15/2008)
Hi,If u want to get the count of date only the use this
SELECT COUNT(1) FROM XYZ WHERE CONVERT(VARCHAR(10),DATETIME,101)='2002-05-15'
I think this will work.
Thanks
Sanaullah.
That will work. However, it's not...
May 15, 2008 at 7:08 am
exec master..xp_cmdshell 'SET USERNAME'
That will give you the user that the cmdshell is running under.
May 15, 2008 at 4:20 am
Apparently there was a bug that caused this option to be set to OFF whenever an index was created with management studio. This has been fixed in sp2.
The default...
May 15, 2008 at 4:19 am
It's been a while since I've used xp_cmdshell - and you shouldn't really use it - but I think that when using xp_cmdshell you're going to be running in the...
May 15, 2008 at 4:02 am
As you've noticed SQL Server datetime types include the time as well. So you'll have to take this into account. Try this:
select count(datetime) from XYZ where datetime between...
May 15, 2008 at 3:59 am
Viewing 15 posts - 106 through 120 (of 683 total)