Viewing 15 posts - 61 through 75 (of 75 total)
Just to update, I got the solution.
--String Splitter keeping data into temp table
SELECT DEALID, SUBSTRING(NETOUTDEALS, n, CHARINDEX(',', NETOUTDEALS+',', n)-n) as netout
INTO #NETORDER FROM [dbo].DealExecutionOrder
CROSS JOIN (select number from...
August 29, 2013 at 4:30 pm
Let me put the problem in different words so that it is easy to understand the context.
Assume the case to be an organization assigning employees to do annual reviews...
August 29, 2013 at 11:50 am
This is what I tried but did not work. DealID=1 is coming before 12 in the output.
Please let me know if I am not clear.
--String Splitter keeping data...
August 27, 2013 at 3:09 pm
For simplicity, I have taken only needed columns. In reality, DealID itself is a FK. NetOutDeals is coma separated list that is also a FK similar to DealID. I request...
August 27, 2013 at 2:54 pm
If 'order by 1 ' is commented/removed, I still get same result set in different order.
In other words wrt to performance, does Between puts the column in sorted order...
August 5, 2013 at 2:25 pm
Your data might spread into July, August etc. since "Queries resolved,Queries resolved in SLA, Queries resolved out of SLA, Queries resolved in SLA" fixed fields, I would recommend to keep...
August 5, 2013 at 10:15 am
As Erland said, above statistics seems ok kind of performance to me with indexes. But if destination database is not operational database and just a OLAP database, then consider adding...
August 5, 2013 at 9:36 am
You can pass the rundate dynamically using SSIS package config file.
When you run SSIS package, it first checks the variable/property values in config file. If found any, it will...
August 5, 2013 at 8:51 am
Try use CTE and select top 10 from cte. I did not test this myself but believe it should work.
August 4, 2013 at 6:34 am
This is as good as 'google Nose' prank....LOL..:-)
April 1, 2013 at 2:34 pm
Well, I got the solution from msdn. On my windows server, I did below steps:
1. In the reporting services configuration manager, click web service url. Removed the SSL certificate...
March 26, 2013 at 10:32 am
Weekly once ~800 records. It should ok to use function at the moment.
Yes, I would consider using TVF if data is significant.
March 19, 2013 at 12:57 pm
It is an application database used for reporting purposes, where I need to calculate datetime out of two integer columns (till last week, I calculated only date but new requirement...
March 19, 2013 at 11:21 am
Thank you very much OPC.Three.
This builtin function msdb.dbo.agent_datetime did the job for me.
March 18, 2013 at 9:29 am
Thanks Lynn for your response.
The code you shared works for this example but sometimes integer time column or col B can have values like 93000 (9.30am) or 0 (12...
March 15, 2013 at 3:00 pm
Viewing 15 posts - 61 through 75 (of 75 total)