Viewing 15 posts - 15,361 through 15,375 (of 26,484 total)
The problem appears to be that you are trying to put the linked server fields inside the CTE. Try the following:
;WITH CTE AS (
SELECT
lastname
,firstname
,authstatus
,CASE WHEN ISNUMERIC(RIGHT(emplid,len(emplid)-1))=1...
June 17, 2010 at 4:08 pm
Getting there but not quite there. Still need sample data for the tables as a series of INSERT INTO statements and expected results based on the sample data and...
June 17, 2010 at 7:39 am
rameshk75 (6/16/2010)
Lynn, I have replied to your post. I gave you the modified query with a table and two columns. Pls let me know if you need more details.Thanks.
Actually, no....
June 16, 2010 at 1:37 pm
Any clues? No. I am still waiting for the information I requested in my last post.
June 16, 2010 at 12:58 pm
I have to agree, stop complaining about the ball and play the game you are paid quite well to play.
I don't have a copy of the Laws of the Game...
June 15, 2010 at 11:30 am
magarity kerns (6/11/2010)
Lynn Pettis (6/11/2010)
Why does this remind me of a Notes database that feed into a SQL Server database at a mutual previous employer?? 😛
No comment!!
PS - I...
June 11, 2010 at 12:07 pm
Sounds like the visual designer may not support the pivot/unpivot command and isn't handling it correctly when you attempt to open the view.
June 11, 2010 at 12:02 pm
bteraberry (6/11/2010)
Lynn Pettis (6/11/2010)
DECLARE @filterStart DATETIME
DECLARE @filterEnd DATETIME
SET @filterStart = '10/06/2010'
SET @filterEnd = '10/07/2010'
SELECT ...
WHERE
DueDate BETWEEN @filterStart AND @filterEnd...
June 11, 2010 at 10:40 am
Lynn Pettis (6/11/2010)
I know we have several MVP's here on SSC, but most of you don't advertise it, and perhaps its just...
June 11, 2010 at 10:37 am
Trey Staker (6/11/2010)
Lynn Pettis (6/11/2010)
Trey Staker (6/11/2010)
GilaMonster (6/11/2010)
Oops.
Ouch. I'm going to use this thread as an example. I've been dealing with a 3rd party application. They...
June 11, 2010 at 10:33 am
magarity kerns (6/11/2010)
June 11, 2010 at 10:26 am
Another option:
DECLARE @filterStart DATETIME
DECLARE @filterEnd DATETIME
SET @filterStart = '10/06/2010'
SET @filterEnd = '10/07/2010'
SELECT ...
WHERE
DueDate BETWEEN @filterStart AND @filterEnd
...
June 11, 2010 at 9:50 am
Trey Staker (6/11/2010)
GilaMonster (6/11/2010)
Oops.
Ouch. I'm going to use this thread as an example. I've been dealing with a 3rd party application. They use SQL Server as...
June 11, 2010 at 9:27 am
Anybody out there know much about this individual, scott.pletcher?
I know we have several MVP's here on SSC, but most of you don't advertise it, and perhaps its just me but...
June 11, 2010 at 9:24 am
Viewing 15 posts - 15,361 through 15,375 (of 26,484 total)