Viewing 15 posts - 4,906 through 4,920 (of 15,381 total)
Gangadhara MS (5/13/2014)
One more help on the same line but here i don't have any SARGble function here its direct select and insert. As i am...
May 13, 2014 at 2:43 pm
isuckatsql (5/13/2014)
I started with a dynamic SQL query, too slow.
Then i went with an SQL Indexed View, much faster, but the more items...
May 13, 2014 at 2:02 pm
isuckatsql (5/13/2014)
I have done some digging around on the forums but can't find an example that would work.Could you give me an idea on how to do this?
Thanks
To do this...
May 13, 2014 at 1:37 pm
Gangadhara MS (5/13/2014)
It Really helps me, I just changed the where clause as mentioned in your suggestion the query reduced to 1 minute from morethan 20 minute, you...
May 13, 2014 at 1:22 pm
jdasilva (5/13/2014)
man, this interface is not very user friendly... Well I guess when it comes...
May 13, 2014 at 12:44 pm
No clue if this will work but the code will at least parse correctly.
SELECT DISTINCT dbo_StaffListings.LocCode, dbo_StaffListings.AutoNumber, dbo_StaffListings.OfficeNumber,
dbo_StaffListings.[Column], dbo_StaffListings.Floor, Left([dbo_StaffListings].[LastName],1) AS Heads,
dbo_StaffListings.LastName, dbo_StaffListings.ShowName, dbo_StaffListings.FirstName, dbo_StaffListings.Extension,
Len([dbo_StaffListings].[Extension]) AS ExtLen,...
May 13, 2014 at 12:42 pm
Gangadhara MS (5/13/2014)
I was Tuning a query which is running for a long time of more than 30 min.When i look at the query i could see its...
May 13, 2014 at 12:35 pm
mic.con87 (5/13/2014)
That's great! Thanks so much 🙂
You're welcome. Glad that worked for you.
May 13, 2014 at 10:52 am
You can use Row_Number with partition...
with SomeData as
(
select 12345 as TransactionID, 129172 as Line_id union all
select 12345, 1654572 union all
select 12345, 56229172 union all
select 12345, 13456 union all
select 12345, 22342...
May 13, 2014 at 10:24 am
skb 44459 (5/13/2014)
May 13, 2014 at 9:16 am
LOL. tripleAxe AND gbritton1 posted while I got pulled away. 🙂
--edit--
I missed the tripleAxe post in my first reply.
May 13, 2014 at 9:10 am
lbrady (5/13/2014)
Here's my situation:
Large design flaw, I know, but we have a table with a varchar field which contains alpha - numeric values. I need to...
May 13, 2014 at 9:10 am
skb 44459 (5/13/2014)
Seq ParentID Description
---- -------- -----------
1...
May 13, 2014 at 8:58 am
Meatloaf (5/13/2014)
I have used the Databse tool to migrate tables, but cannot see to find...
May 13, 2014 at 8:16 am
Interesting. The only actual difference was in the partition predicate of the ROW_NUMBER function. Without having POLICY_DETAILS_ID it adds a very expensive sort to the execution plan. Not sure...
May 13, 2014 at 7:49 am
Viewing 15 posts - 4,906 through 4,920 (of 15,381 total)