Viewing 15 posts - 4,891 through 4,905 (of 15,381 total)
Be careful here. Dwain commented that he has encountered significant performance issues when using a value from a function like that as the first parameter in DelimitedSplit8K. I was rather...
May 14, 2014 at 1:51 pm
Luis Cazares (5/14/2014)
Sean Lange (5/14/2014)
I would drop the mapping table and add another column to the Item table named ParentItemID. Then this is a simple recursive cte.
I saw the single...
May 14, 2014 at 1:25 pm
I would drop the mapping table and add another column to the Item table named ParentItemID. Then this is a simple recursive cte.
May 14, 2014 at 1:06 pm
smtzac (5/14/2014)
Now I want to create a store procedure which that takes size of 'AdventureWorks' database...
May 14, 2014 at 12:15 pm
Eirikur Eiriksson (5/14/2014)
For fun:-P, it always looks simple until one starts to meddle with it😎
Not a huge deal...just add some ltrim, rtrim.
with Names as
(
select 'Mike...
May 14, 2014 at 12:12 pm
Here is one way you might be able to deal with that.
with Names as
(
select 'Mike Davis' as FullName union all
select 'NoSpace'
)
select case when charindex(' ' , FullName, 0) > 0...
May 14, 2014 at 10:45 am
sharonsql2013 (5/14/2014)
Great!. Works but then I get an error : Invalid length parameter passed to the left or Substring function
That is because you have at least one value that doesn't...
May 14, 2014 at 10:40 am
isuckatsql (5/14/2014)
(a) One Dynamic SQL Query that takes 37 ms when run as a single query or in an SP.
(b) Three SQL Indexed View queries that take...
May 14, 2014 at 10:35 am
sharonsql2013 (5/14/2014)
So If its Mike Davis
I need...
May 14, 2014 at 10:31 am
jdasilva (5/14/2014)
Also, I see you point...
May 14, 2014 at 10:22 am
Hi and welcome to the forums. In order to help we will need a few things:
1. Sample DDL in the form of CREATE TABLE statements
2. Sample data in the form...
May 14, 2014 at 8:27 am
Let's see what this monster looks like with some formatting so we can read it...
/****** Object: StoredProcedure [dbo].[CCPAspProjectCostCatDetail] Script Date: 05/13/2014 15:46:48 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
-- =============================================
-- Author:
-- Create...
May 14, 2014 at 8:13 am
jdasilva (5/14/2014)
unfortunately changing the names currently used would be quite a lot of work as it is not only tied to Access but several Visio floor...
May 14, 2014 at 8:02 am
Gangadhara MS (5/13/2014)
It really didn't helped me out, seems something is wrong here does it due to 125 rows ??
Well the query you posted is nothing like the...
May 14, 2014 at 7:43 am
GilaMonster (5/14/2014)
Koen Verbeeck (5/14/2014)
This was a funny topic 😀 (especially the last replies)Sorry, am a little short on patience today.
I almost spit my coffee on the screen when I saw...
May 14, 2014 at 7:39 am
Viewing 15 posts - 4,891 through 4,905 (of 15,381 total)