Viewing 15 posts - 7,606 through 7,620 (of 15,381 total)
If I understand what you are doing here you have 2 parameters. 1 is Name and the 2nd is a comma delimited list? I think what you need to do...
July 11, 2013 at 7:30 am
You should take a look at Gail's blog post about multiple execution paths. It will explain why you sometimes see horrible performance and for other parameters you don't.
http://sqlinthewild.co.za/index.php/2009/09/15/multiple-execution-paths/%5B/url%5D
July 11, 2013 at 7:14 am
Steven Willis (7/10/2013)
WHERE
((@StartDate IS NOT NULL AND StartDate >= @StartDate)
OR
(@StartDate IS NULL))
...
July 11, 2013 at 7:02 am
puja63 (7/10/2013)
create table #Something
(
CustID Char(10),
SurveyId char(5),
ResponseDate datetime
)
insert #Something
select 'Cust1', '100', '5/6/13' union...
July 10, 2013 at 2:17 pm
ShuaibV (7/10/2013)
We have the Data stored in NVarchar data type.
UGH!!! Any chance of changing this? Storing "dates" as nvarchar is a really bad practice. It makes for very challenging validation...
July 10, 2013 at 2:11 pm
shane.stitts.ctr (7/10/2013)
July 10, 2013 at 1:59 pm
ShuaibV (7/10/2013)
Can someone please share if there are any functions or code to validate the Date in different format settings?
Ex:
----
If I enter the value "9999", the function should validate against...
July 10, 2013 at 1:54 pm
shane.stitts.ctr (7/10/2013)
July 10, 2013 at 1:39 pm
It isn't too bad but can you turn your data into something readily consumable? A good example is what I posted in your other thread. It makes it a LOT...
July 10, 2013 at 1:35 pm
Nope won't work going forward. You can go the other way (connect to an older instance from a newer one). This is much like backups, they are not forward compatible.
July 10, 2013 at 1:33 pm
Here is another way...
create table #Something
(
CustomerID char(5),
CustomerName char(5),
AcctID int
)
insert #Something
select 'Cust1', 'Peter', 123 union all
select 'Cust1', 'Peter', 345 union all
select 'Cust1', 'Peter', 567;
with OrderedRows as
(
select CustomerID, CustomerName, AcctID, ROW_NUMBER() over(Order...
July 10, 2013 at 1:06 pm
Here is a screen shot of what I have been working on.
July 10, 2013 at 11:57 am
Give me a couple days to get it all cleaned up and I will send it along.
July 10, 2013 at 8:42 am
riya_dave (7/10/2013)
rl.AlarmId, rl.Name
...
July 10, 2013 at 8:17 am
Viewing 15 posts - 7,606 through 7,620 (of 15,381 total)