Viewing 12 posts - 181 through 192 (of 192 total)
My bad!
The pre tag won't avoid the smileys. (but your code looks prettier!)
Sorry
-Robert
October 20, 2006 at 11:38 am
Sure:
Both blocks of code are formatted the same when pasted into the forum. The bottom block is wrapped in <PRE> </PRE>
Code taken from another thread:
SELECT a.*,
...
October 20, 2006 at 11:36 am
I really enjoyed the article, thank you!
It's probaly a little late to mention this but, another thing that would be very useful as public knowledge is the <Pre> tag.
Using the...
October 20, 2006 at 10:51 am
What is the data type of the number column? (please don't say float!)
Your best bet is to make that column an identity column (rather than go through the hassle...
October 20, 2006 at 10:30 am
Very good article!
I thought I would share another good resource on this topic. Microsoft has a system table map available on their website.
http://www.microsoft.com/sql/prodinfo/previousversions/systables.mspx
-Robert
October 20, 2006 at 10:11 am
Looking at your sql code, you would like @InPar to be a byte array?
If this is the case, you could try storing @InPar as a VARBINARY (it probably won't work...
October 18, 2006 at 4:10 pm
SP_getapplock needs to be run inside a transaction.
I'm not convinced that this would be the best idea but...
In order for you to make this work for your situation, you...
October 17, 2006 at 11:41 am
I would be interested to know a little more about your SessionLockID column. I would guess that you are using this column to tell a client application weather a record...
October 17, 2006 at 9:53 am
Thank you both very much for your feedback!
Noel:
I agree, the
IF not exists()
Insert...
Technique is definitely flawed; I have seen this approach fail many times. Very good point about combining the...
October 17, 2006 at 9:33 am
It's probably worth mentioning that you can select from and join to a table-value function. If I understand what you're asking would something like this work?
SELECT @AcctCodeValue = Replace(@AcctCodeValue,' ',...
October 13, 2006 at 3:41 pm
For what it's worth, here is a set-based approach. It requires a numbers table though.
IF EXISTS ( SELECT 1 ...
October 10, 2006 at 10:17 am
Joining a local table to a remote table isn't always a bad idea but
DML queries on remote servers are always painful. It is much faster to run updates on...
September 26, 2006 at 4:54 pm
Viewing 12 posts - 181 through 192 (of 192 total)