Viewing 15 posts - 1,936 through 1,950 (of 5,590 total)
Rex - yes, that way will work. However, please see this article[/url] for performance differences between the two methods. String manipulation has never been a strong area for MS, and...
January 12, 2011 at 8:14 am
Scott Arendt (1/12/2011)
I thought that 4 VLFs would be created and almost answered that way until the...
January 12, 2011 at 6:56 am
All of these solutions would require you to write dynamic sql to create that third table, and it doesn't help with the data types.
This isn't the type of thing that...
January 12, 2011 at 6:53 am
glock 71629 (1/12/2011)
Invoke-Sqlcmd -ServerInstance myServer -Database...
January 12, 2011 at 6:42 am
January 12, 2011 at 4:50 am
SELECT ServerName = @@servername,
InstanceName = CASE WHEN CharIndex('\', @@ServerName) = 0 THEN NULL
...
January 12, 2011 at 4:48 am
Does anyone know how to directly read an XML file from an internet address in T-SQL? Please respond here... and think about writing a SQL Spackle article on it!
January 12, 2011 at 4:24 am
Hello Nick,
What timing! An article[/url] was just published today that shows how to do this very thing. Check it out!
January 12, 2011 at 4:02 am
reto.eggenberger (1/12/2011)
Is the order by in the subquery really needed? I think the for xml does it anyways. If you don't use...
January 12, 2011 at 3:56 am
This BOL entry should answer your questions.
January 11, 2011 at 3:12 pm
Does this work for you?
DECLARE @Tbl TABLE (
id INT,
StartTime DATETIME,
NoOfHours VARCHAR(5),
FinishingTime DATETIME
)
INSERT INTO @Tbl
SELECT 19,'01/11/2011 12:30:00 ','02:30',''
UNION ALL
SELECT 18,'01/11/2011 16:40:00...
January 11, 2011 at 2:46 pm
Steve Jones - SSC Editor (1/11/2011)
Thanks, but I'm actually somewhat hoping I lose. I think the travel might kill me in May if I get the Rally.
Now you tell us......
January 11, 2011 at 10:31 am
Amy.G (1/11/2011)
Steve,Do you mean I need to go into the file and type in [CDATA[... where all HTML appears?
Amy
Well, run this little test:
declare @xml1 XML, @xml2 XML;
set @xml1 =...
January 11, 2011 at 10:28 am
weharrelson (1/11/2011)
Sorry for the delay guys:DECLARE @x XML
SELECT @x= CONVERT(xml, BulkColumn, 2) FROM
OPENROWSET(BULK 'C:\data.xml', SINGLE_BLOB) AS x
Ahh, I see. You loading the file in as I showed in...
January 11, 2011 at 10:18 am
Jorge,
Might I suggest two things:
1. First, do not add things to master. Instead, create a database (named something like "Common"), and put all your special stuff there. Yes, you can't...
January 11, 2011 at 9:37 am
Viewing 15 posts - 1,936 through 1,950 (of 5,590 total)