Viewing 15 posts - 56,521 through 56,535 (of 59,069 total)
SET TRANSACTION ISOLATION LEVEL SERIALIZABLE
--Jeff Moden
Change is inevitable... Change for the better is not.
April 27, 2007 at 4:19 pm
First question would be... Why aren't you using an IDENTITY column to do this along with Scope_Identity.
Next question would be... Please post your SP...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 27, 2007 at 4:16 pm
Nicely done, Adrian...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 27, 2007 at 4:08 pm
The big advantage of creating file groups on different disks is purely physical... you get more read write heads involved. Of course, the same could be said for partitioning one...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 27, 2007 at 4:05 pm
You could also make a batch job that runs a "SELECT" via OSQL to create a CSV file as the output.... Windows Task Scheduler takes care of the rest...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 27, 2007 at 3:48 pm
Great suggestion. Old gaming trick... if you can't move, "change color".
--Jeff Moden
Change is inevitable... Change for the better is not.
April 27, 2007 at 3:42 pm
Ditto on the nulls...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 27, 2007 at 3:40 pm
CREATE PROCEDURE [dbo].[SEQVAL] @tblname varchar(100) AS
Begin tran
UPDATE CASE_NUM_SEQ SET CURRVALUE = CURRVALUE + INCR WHERE SEQ_CD = @tblname
SELECT CURRVALUE FROM CASE_NUM_SEQ WHERE SEQ_CD = @tblname
commit
We had a similar procedure at work (created by a 3rd...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 27, 2007 at 3:30 pm
Heh... "for reference only"... just wait until they ask "how many logins this week"... and they will...
Anyway, thanks for the feedback, Charlie.
--Jeff Moden
Change is inevitable... Change for the better is not.
April 27, 2007 at 3:24 pm
Cross post
--Jeff Moden
Change is inevitable... Change for the better is not.
April 27, 2007 at 3:16 pm
Cross post
--Jeff Moden
Change is inevitable... Change for the better is not.
April 27, 2007 at 3:15 pm
You've certainly got CROSS-POSTING down pat! ![]()
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=8&messageid=361685
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=169&messageid=361683
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=169&messageid=361682
Download one of the lite versions of SQL or MSDE... they're free...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 27, 2007 at 3:12 pm
I'm not sure what they did, but our DBA's setup a system of alerts that sends them email on their "crack berry" if a CPU spikes for more than a minute or...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 27, 2007 at 1:31 pm
Sreemati,
Most of the suggestions folks have given so far in this thread are spot on...
I'd like to add that you must change your thinking, as well. You must stop...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 27, 2007 at 1:06 pm
Rudy, where's that list you and I came up with many moons ago? I think step #1 was something like "Write good set based code"...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 27, 2007 at 12:49 pm
Viewing 15 posts - 56,521 through 56,535 (of 59,069 total)