Viewing 15 posts - 211 through 225 (of 271 total)
Option 1 would certainly be simpler.
Happy to help.
June 23, 2009 at 10:03 am
Here is an example of the computed column (incase you need it)
USE tempdb
GO
CREATE TABLE TableA
(
ColumnA VARCHAR(5),
ColumnB VARCHAR(5),
ColumnC AS ((ColumnA+'-')+ColumnB)
)
INSERT INTO TableA
(ColumnA,ColumnB)
VALUES
('Hello','World')
SELECT ColumnA,
ColumnB,
ColumnC
FROM TableA
DROP TABLE TableA
June 23, 2009 at 9:29 am
Hi,
I think you have two options here,
1. If the table is truly static (never going to change) then you could just run an update on the table to set column...
June 23, 2009 at 9:26 am
Happy to help.
I've created 2 functions, one thats using a loop to break up a string and then one using XML (thanks for the article - very useful).
On small data...
June 5, 2009 at 5:42 am
Can ignore that now, manged to resolve it using;
i.item.value('(*[local-name()=sql:variable("@searchelement")])[1]','nvarchar(15)')
Thanks.
June 5, 2009 at 4:40 am
Just one quick question,
I've created a function for which I can pass in XML and then the element name that I wish to extract, this should allow me to us...
June 5, 2009 at 3:26 am
Hi all,
Many thanks for the responses, certainly somethings to think about and try out.
June 5, 2009 at 2:00 am
Looking at the sample code, I think I am right in saying basically if the select finds a record then you want to return success and if it doesnt then...
May 28, 2009 at 5:10 am
Moving the transaction outside of the loop will result in the appropriate locks being held for the duration of the loop.
The trick is (in my opinion) to have the transaction...
May 28, 2009 at 4:57 am
Hi,
Are you experiencing a specific error or issue with the code?
May 28, 2009 at 4:34 am
I couldnt be 100% on whether there will be issues, it really depends if your using features updated in the hotfix.
If it were me, assuming you cant remove the updates...
May 28, 2009 at 4:27 am
Hi Harsha,
The differences will be down to cumilitve updates, .2039 is SP4.
As for .2055, the link http://support.microsoft.com/kb/959420 may be of assistance. If you want to sync up the version...
May 28, 2009 at 4:08 am
Thanks for the reply nilmov,
I'm currently looking into the KB 937343, hopefully this will should resolve the issues.
Thanks again.
April 30, 2009 at 3:39 am
Viewing 15 posts - 211 through 225 (of 271 total)