Viewing 15 posts - 376 through 390 (of 1,109 total)
You can use either xml.value (but it is a problem with variables), or you could use dynamic SQL do do this.
DECLARE @RET_VAL DECIMAL(13,2);
DECLARE @Formula AS VARCHAR(255);
-- function does stuff...
March 7, 2008 at 6:58 am
arun.samuel (3/7/2008)
1. tblCaseInfo with CaseID, ResolutionID
2. tblSessions with CaseID, Location
3. tlkResolution with ResolutionID
get all resolved cases for a particular LOCATION.
trying to do the following...
March 7, 2008 at 5:54 am
Jeff Moden (3/6/2008)
Heh... I can tell you which one is the only one that works 100% of the time...http://blog.pengoworks.com/index.cfm/2008/2/15/The-only-valid-measurement-of-code-quality-WTFsminute
:hehe::P:D:);)
Wow, this is amazing. And now I know the name for this...
March 6, 2008 at 9:39 am
g.sarvesh (3/6/2008)
Hi,I want to know that How many Triggers are in Sql Server 2005 and what are differences between them. 🙂
Regards
Sarvesh Kumar Gupta
There are DML, DDL and Logon triggers (trigger...
March 6, 2008 at 9:10 am
abd (3/5/2008)
nice solutionbut does it work for nvarchar parameters?
No, it does not 🙂 nvarchars seems to have become a new requirement for this problem 🙂
There is of course another alternative...
March 5, 2008 at 3:47 am
abd (3/5/2008)
In fact Andras, yes, this is a short example of my sp
but the problem here i can not use the IF statement,...
March 5, 2008 at 3:15 am
wpotter (3/4/2008)
Is it possible to call a table in a CASE statement in the else area:
(CASE --(CASE 1)
WHEN cd.location_type_id != 1 --Home
THEN f.county_id
WHEN cd.location_type_id != 4 --Day...
March 4, 2008 at 5:26 am
Check who it is who is responsible for this transaction
sp_who2 200
If you think that this transaction was a mistake, then kill the 200 process (this will roll back that transaction),...
March 4, 2008 at 5:21 am
The first question, what recovery mode are you running in? I sort of hope that you are in SIMPLE. (if not, then I assume that you are trying to reduce...
March 4, 2008 at 4:49 am
sangeethasriram18 (3/4/2008)
Any idea on how to build a sql script for comparing the data between two tables in a database with similar attributes and non similar...
March 4, 2008 at 4:38 am
sangeethasriram18 (3/4/2008)
Any idea on how to build a sql script for comparing the data between two tables in a database with similar attributes and non similar...
March 4, 2008 at 4:37 am
The result will be a resultset, and you cannot assign this to a variable directly. However, you can dump the result into a temporary table, and get the result out...
March 4, 2008 at 4:32 am
guptaopus (3/4/2008)
Have some Stored Procedures some part of data is static for all SP want to use is in smarter way. How can i call or use that part of...
March 4, 2008 at 1:46 am
tfuyt (3/4/2008)
I'll Take the Full backup every sunday and Diff. Backup every Day 11:59 PM and T.log backup every 1/2 Hr. and
after few week my database is down at...
March 4, 2008 at 1:26 am
Viewing 15 posts - 376 through 390 (of 1,109 total)