Viewing 15 posts - 16 through 30 (of 245 total)
Solomon Rutzky (6/27/2013)
cschlieve (6/25/2013)
How would you use them. I cannot think of a case where this would be useful?
Global Temporary Stored Procedures are very helpful when testing updated code...
July 19, 2013 at 5:08 am
i have done a lot of research but none of the standard 'fixes' have worked for me.
mayube it will for you?
http://stackoverflow.com/questions/17031060/reportviewers-print-button-incompatible-with-ie-10
July 16, 2013 at 10:14 am
when clicking the print icon on the Report VIewer?
we have experienced this, also.
July 16, 2013 at 10:07 am
the column 'CustomerKey' in the subquerys SELECT is being referenced from the outer query DimCustomer_LLF.
June 24, 2013 at 10:23 am
could it be this?
'Recasting in this context is the process of changing the data type of a column value from one type to another.'
June 3, 2013 at 9:04 am
is it possible, or even considered OK, to put all your different Members tables (Clients, Staff, Managers) into one table called 'Clients', and have a Foreign Key to a Table...
April 26, 2013 at 7:44 am
substring reads from Left to Right, not Right to Left as some Languages from non English speaking countries might.
so when you put '3' in to your substring, your asking for...
April 25, 2013 at 2:42 am
Mike Dougherty-384281 (4/18/2013)
OCTom (4/18/2013)
For example, one of the best interview questions I ever heard was: "If I asked you to make me a peanut butter and jelly sandwich, what...
April 18, 2013 at 8:30 am
WITH MyCTE(ClaimKey ,ARevDate ,ARowNum,CauseCode) AS
(
SELECT 123456789,20120101 ,1,'Fault'
UNION select 123456789,20120201, 2,NULL
UNION select 123456789,20120301 ,3,NULL
UNION select 123456789,20120401 ,4,NULL
UNION select 123456789,20120501 ,5,'Non-Fault'
UNION select 123456789,20120601 ,6,NULL
UNION select 123456789,20120701 ,7,NULL
UNION select 123456789,20120701 ,8,NULL
UNION SELECT 123456789,20120701...
April 17, 2013 at 9:20 am
even easier 😉
DECLARE @table TABLE
(
[Key] VARCHAR(50),
Value VARCHAR(50)
)
INSERT INTO @table
SELECT 'firstname', 'surya'
UNION ALL SELECT 'firstname', 'rakhi'
UNION ALL SELECT 'firstname', 'venkat'
UNION ALL SELECT 'firstname', 'shankar'
UNION ALL SELECT 'firstname', 'dany'
SELECT
[value] AS FirstName
FROM...
April 17, 2013 at 3:45 am
this is what i got.
not sure how to pivot the info to how you want it though, as the weekCommencing is not known from the start.
SELECT DISTINCT
--[WeekNumber],
COUNT(weekNumber) OVER (PARTITION BY...
April 16, 2013 at 9:40 am
TravisDBA (4/11/2013)
"Describe how you would program an elevator.
I spent the good part of an...
April 11, 2013 at 9:17 am
these two parts of your SP:
FETCH NEXT FROM crSystem
INTO @SubId
are doing a FETCH INTO on 1 Parameter, @SubID.
The select statement that your cursor is FOR is bringing back...
April 11, 2013 at 4:17 am
mister.magoo (4/9/2013)
I would like to say I understood what you are doing with it and that it looked like a good solution, but I don't,...
April 10, 2013 at 3:30 am
hey, thats MUCH easier! and more efficient 😀
thanks
my final code is as follows:
select IndividualCode,RecNum,codeTagPosition,DateReceived from (
select *
, ROW_NUMBER() over (partition by codeTagPosition,RecNum order by DateReceived,codeTagPosition) as myRowNum
from (
select
...
April 9, 2013 at 7:23 am
Viewing 15 posts - 16 through 30 (of 245 total)