Viewing 15 posts - 46 through 60 (of 73 total)
MarkusB (9/2/2009)
September 2, 2009 at 11:19 am
Never mind.. Forgot the explicit outer select :w00t:
June 4, 2009 at 5:47 am
Yes, i understand the mechanism. I was wondering if it works for you as well with the data provided, since your initial reaction was that nothing was returned:-)
May 19, 2009 at 6:47 am
That is a bit scary, cause I want to make sure that it will work over at customers.
Would it be too much to ask to try my table download in...
May 19, 2009 at 2:44 am
It does exactly what I want ,when I specify the right languagecode.
May 18, 2009 at 1:15 pm
The following is what I got at the moment:
select temp.id,temp.xmlname.value('(//Translations/Translation[@Language = "1043"])[1]','nvarchar(max)') from
(select id, cast(name as xml) as xmlname from someschema.sometable) temp
Still do not understand why the [1] is needed...
May 18, 2009 at 8:48 am
Ahum,
The xml expression itself is stored as a nvarchar(max) type and not as an xml datatype. I guess that means that the xml type of query expressions will not work?
May 18, 2009 at 6:54 am
The error received is returned through the BI-tool and is no more then a hint to contact the database administrator.
Tried to replicate the error message this morning , but...
October 10, 2008 at 1:03 am
scan table sysobjects for xtype = 'U' and table_name to avoid dropping other objects that may have the same name (accidently)
September 16, 2008 at 1:28 pm
Sorry,
Must have been the lack of coffee.
I had @stamp defined as TIMESTAMP, if I define it as VARCHAR(23) then all is as should be..
September 16, 2008 at 2:49 am
No,
When I take the entire SQL string and run it, then the result is:
INSERT INTO [dbo].[H_DATUM_KEY] SELECT T.*,'Sep 16 2008 12:00AM' FROM [dbo].[V_H_I_DATUM_KEY] T
When I take your example the result...
September 16, 2008 at 2:47 am
Thanks Gary,
With batch I wasn't really thinking of running a command file, but really more of a solution on how to perform a similar action on a collection of tables.
I...
September 10, 2008 at 1:11 pm
Yes, and thanks for putting all this effort into my post. I've yet to find some time to examine your extensive treatment, but I surely will !!
September 9, 2008 at 5:47 am
That is certainly true, the syntax has to be slightly different though as the alias has to be referenced first to make this work..
September 9, 2008 at 2:30 am
From my point of view the performance issue is secondary , since we're talking in the range of 5000 - 100000 records for a table. With SQL server 2005 and...
September 4, 2008 at 1:31 am
Viewing 15 posts - 46 through 60 (of 73 total)