Viewing 15 posts - 721 through 735 (of 1,170 total)
Sean Lange (12/18/2013)
December 18, 2013 at 7:45 am
Gillian_Pappas2002 (12/18/2013)
I have the following code which is correctly selecting my data, but it is giving me duplicates and I can't use a distinct, or Max to be able to...
December 18, 2013 at 7:41 am
Hi
You can also avoid Key lookup if you use the clustered key column (Column1) in the where condition instead of Column2, of course if it suits your case, so that...
December 18, 2013 at 4:59 am
KWymore (12/17/2013)
Ford Fairlane (12/17/2013)
Koen Verbeeck (12/17/2013)
I have been enabling page compression on our entire data warehouse recently, so this was a pretty easy question 🙂
Whats your performance been like since...
December 17, 2013 at 7:47 am
Hi
You have an existing index
CREATE NONCLUSTERED INDEX [IX_Player_partnerIddtCreated] ON [dbo].[Player]
(
[partnerId] ASC,
[dtCreated] ASC
)
INCLUDE ( [playerId])
If you take a look in your execution plan you'll see a missing index. You...
December 17, 2013 at 3:25 am
Hi
What is the status of the protocols: TCP/IP, Named pipes and Shared memory?
December 17, 2013 at 2:46 am
IgorMi (12/15/2013)
shashianireddy (12/15/2013)
again it shows error likeMsg 537, Level 16, State 5, Line 1
Invalid length parameter passed to the LEFT or SUBSTRING function.
Now corrected, pls check it.
select house_no
from test1
where...
December 15, 2013 at 9:32 am
shashianireddy (12/15/2013)
again it shows error likeMsg 537, Level 16, State 5, Line 1
Invalid length parameter passed to the LEFT or SUBSTRING function.
Now corrected, pls check it.
December 15, 2013 at 7:54 am
OK,
What about this?
select house_no
from YourTable
where house_no between '4-12-1000' and'4-12-1500'
and SUBSTRING(house_no,6,10) not like '%[^0-9]%'
December 15, 2013 at 7:29 am
Try this code
select house_no from YourTable
where house_no between '4-12-1000' and'4-12-1500'
AND ISNUMERIC(SUBSTRING(house_NO,6,4))=1
and CONVERT(INT,SUBSTRING(house_NO,6,4)) BETWEEN 1000 AND 1500
Regards
IgorMi
December 15, 2013 at 5:16 am
You can use
order by house_no asc
and get the desired ordering
December 15, 2013 at 4:46 am
covershaker45 (12/12/2013)
Not 100% sure how to run sp_configure. Is there a GUI to execute the command?
How do you plan to execute the sp_configure if you don't have a sql...
December 12, 2013 at 11:26 am
This should help you http://microsoft-ssis.blogspot.com/2011/04/how-to-configure-foreach-loop-container.html
December 12, 2013 at 10:20 am
Viewing 15 posts - 721 through 735 (of 1,170 total)