Viewing 13 posts - 1 through 13 (of 13 total)
Thanks for the ideas and codes.
I have another question.
Let's say I have a string something like below:
test-asdasdasd="xxx"
If I want to replace asdasdasd="xxx" with blank ('') so that I can...
January 6, 2017 at 9:37 am
I tried below and it seems much faster.
UPDATE R
SET Value1_Check = P.CheckName
,Value2_Check = P2.CheckName
,Value3_Check = P3.CheckName
,Value4_Check = P4.CheckName
FROM #DataTableName R
LEFT JOIN #Join P ON (ROUND(R.Value1_Pct,4) >= P.Low OR...
October 25, 2016 at 9:31 pm
I use this line of code in a stored procedure to pull the report and the sp takes about 1.5 seconds. I am trying to improve it so that it...
July 21, 2016 at 10:25 am
Will do sometime today. Thanks.
Eirikur Eiriksson (7/21/2016)
ocean3300 (7/20/2016)
July 21, 2016 at 10:23 am
No, I don't have an index on date column. However, I do have the index on a combination of three column including date column. When I retrieve the data from...
July 21, 2016 at 10:22 am
If you want to display sum(omlExtendedPriceBase) as 0 if the value is null, use ISNULL(SUM(omlExtendedPriceBase),0).
SELECT *
FROM (
SELECT DISTINCT cmoOrganizationID
,cmoName
,omlPartGroupID
,ISNULL(sum(omlExtendedPriceBase),0) AS total
,DATEPART(yyyy, ompOrderDate) AS Year_
FROM SalesOrders
LEFT OUTER JOIN SalesOrderLines ON omlSalesOrderID...
July 19, 2016 at 2:40 pm
ScottPletcher (2/29/2016)
February 29, 2016 at 2:48 pm
Thanks guys. I will create a permanent table for this. I was just hoping to see if there was a way to do it without permanent table because I really...
February 29, 2016 at 1:04 pm
Grant Fritchey (2/29/2016)
February 29, 2016 at 10:52 am
Koen Verbeeck (5/14/2014)
Make sure the Oracle client tools and the ODAC components are installed on the development machine.
Good point, I forgot to mention it. 😀
May 14, 2014 at 8:07 am
Use Oracle Provider for Connection Manager in SSIS
May 13, 2014 at 8:08 pm
Use openrowset
[Code]
SELECT a.*
FROM OPENROWSET('SQLNCLI', 'Server=Seattle1;Trusted_Connection=yes;',
'SELECT GroupName, Name, DepartmentID
FROM AdventureWorks2012.HumanResources.Department
ORDER BY GroupName, Name') AS...
May 13, 2014 at 8:04 pm
however I edited the columns to allow NULLS but still not working
Can we see how you edited the column to allow NULL value? Because I don't see it in...
May 13, 2014 at 8:01 pm
Viewing 13 posts - 1 through 13 (of 13 total)