Viewing 15 posts - 6,886 through 6,900 (of 8,760 total)
thomashohner (10/4/2014)
Oddly when I remove the OR (r.Trimester >0) it runs in 50-55 seconds not the 8+ minutes.. Now very, very confused.
Quick thought, by removing the alternative predicate from the...
October 4, 2014 at 11:36 am
TomThomson (10/4/2014)
Eirikur Eiriksson (10/3/2014)
Steve Jones - SSC Editor (10/2/2014)
Note that THROW works well in some cases, RAISERROR in others.Learn how to use both.
It is worth noting that the THROW...
October 4, 2014 at 8:49 am
h2sh (10/3/2014)
i'm trying to work with full text search , i have create a view , but unfortunately , the view doesn't have a column which have a non duplicate...
October 4, 2014 at 4:02 am
Alan.B (10/2/2014)
October 4, 2014 at 3:04 am
Quick thought, use NULLIF or skip the ISNULL in the inner query for Actual_CurrentMonth and Budget_CurrentMonth to return NULL instead of 0, then remove those two columns from the group...
October 3, 2014 at 11:43 pm
Quick thought, what is the data type of the MANUFACTUREDDATE column? If the MANUFACTUREDDATE is a character column of the format MM/DD/YYYY (101) then you must always use the 101...
October 3, 2014 at 11:00 pm
Had this handy (straight from BOL);-) should get you passed the hurdle.
😎
/* Relevant date time functions with BOL comments*/
SELECT
/* Returns the current database system timestamp as a datetime
...
October 3, 2014 at 10:39 pm
Steve Jones - SSC Editor (10/2/2014)
Note that THROW works well in some cases, RAISERROR in others.Learn how to use both.
It is worth noting that the THROW "message" is fixed...
October 3, 2014 at 10:18 pm
Best option would be to use T-SQL, it is simple and straight forward, here is a quick example.
This sample uses XML AUTO, by changing to XML PATH, almost any...
October 3, 2014 at 10:05 pm
Here is a simpler and better performing version of the XQuery, where the XQuery does the leg-work instead of using a union in the TSQL part. The result set contains...
October 3, 2014 at 9:54 pm
Quick questions:
A. how are you importing the XML files?
B. Do the files have as XML declaration tag (<?xml version="1.0" encoding="UTF-8" standalone="no" ?>)?
C. Can you post a more complete sample...
October 2, 2014 at 3:02 pm
Quick thought, you can do some string splitting and concatenation, not too pretty but works
😎
USE tempdb;
GO
SET NOCOUNT ON;
GO
DECLARE @DATETIMESTRING VARCHAR(12) = '200508310926';
SELECT CONVERT(DATETIME,SUBSTRING(@DATETIMESTRING,1,4) + CHAR(45) +
...
October 2, 2014 at 10:06 am
k.kavitha236 (10/2/2014)
Source is excel and destination is OLE DB
In this case, my first suggestion is to use a staging table at the destination for the aggregation. Is that an option?
😎
October 2, 2014 at 3:05 am
Quick question, what is the data source and destination (file,table etc.)?
😎
October 2, 2014 at 1:43 am
hakan.winther (10/2/2014)
Sean Pearce (10/1/2014)
Roland C (10/1/2014)
Another badly redacted question ! It gets a little boring :doze:You could always submit your own question.
I agree with you. I Think it's hard to...
October 2, 2014 at 1:37 am
Viewing 15 posts - 6,886 through 6,900 (of 8,760 total)