Viewing 15 posts - 5,086 through 5,100 (of 5,504 total)
Hi Lucas,
maybe this post will be useful.
I found it using the search keywords "linked server mysql" on this site.
July 24, 2009 at 2:17 pm
duplicate post.
please continue here .
July 24, 2009 at 1:12 pm
A few thoughts:
1) you should think about using XQuery instead of OpenXML.
2) you need to qualify every name space you're using in your xml.
Please see the following example:
DECLARE @xml XML...
July 24, 2009 at 1:03 pm
Hi Sirish,
the first "issue": if you're posting xml data please use the [ code="xml" ] tag without spaces. This site has some difficulties to display xml structure properly if xml...
July 22, 2009 at 3:23 pm
Based on your sample data the following code should give you the same result as your code does.
However, it will give you the max value for each of the three...
July 21, 2009 at 3:23 pm
To replace a string in SSMS you could use {STRG}+H. This will allow you to do search and replace.
You have to make sure that the new table will have columns...
July 20, 2009 at 4:53 pm
sharminjose (7/20/2009)
July 20, 2009 at 4:17 pm
Hi,
below please find two version on how to get the pivot done:
The first one is using "cross tabs" and the second one the SQL PIVOT syntax.
Usually, the cross tab function...
July 20, 2009 at 3:45 pm
duplicate post.
for future discussion please see
July 20, 2009 at 2:52 pm
Based on Jeff's SQL statement I'd like to extend it to include the start and end time you mentioned in your first post.
Please note the way I used dateadd/datediff on...
July 18, 2009 at 7:33 am
duplicate post.
Please continue discussion here .
July 18, 2009 at 3:38 am
Hi Lisa,
the following code might work. It's untested since I don't have anything to test against.
If you're looking for a tested solution, please provide test data as described in the...
July 18, 2009 at 3:35 am
Based on arun's sample data there's another option (which is usually faster):
create table #temp
(
slno int,
date1 datetime
)
insert into #temp
select 1,getdate()
union all
select 2,DATEADD(dd,0,DATEDIFF(dd,0,getdate()))
For a performance comparison of the various date conversion functions...
July 18, 2009 at 2:44 am
Please provide table definition as well as sample data and expected result.
You also should include what you've tried so far and what you're struggling with.
For details on how to provide...
July 17, 2009 at 12:44 pm
Did you ever consider getting a consultant to help you resolve your performance issues?
(afaik this already has been recommended in one of your numerous other threads regarding the auditdata issues...)
I...
July 16, 2009 at 5:07 pm
Viewing 15 posts - 5,086 through 5,100 (of 5,504 total)