Viewing 15 posts - 7,336 through 7,350 (of 15,381 total)
Maybe instead of creating the cte in over 100 procs you could create a view. Then you just have to add a join in your other queries. This would give...
August 1, 2013 at 12:32 pm
EamonSQL (8/1/2013)
The reason I know is that this is an old app which the vendor isn't supporting anymore.
Sometimes a data issue occurs and we've been told that a...
August 1, 2013 at 10:49 am
I can see some issues with what you have here. It starts with normalization. You really should only have 1 of those UserAccess values per row. I am guessing that...
August 1, 2013 at 10:25 am
ananda.murugesan (8/1/2013)
same errorexec sp_temp @count
Msg 137, Level 15, State 2, Line 1
Must declare the scalar variable "@count".
That is because you didn't declare the variable. You are passing it to the...
August 1, 2013 at 8:54 am
Fire up sql profiler and run the app.
Curious, how do you know it is a stored proc?
August 1, 2013 at 8:46 am
madsovenielsen (8/1/2013)
Im getting the following error when using the query:
Msg 8120, Level 16, State 1, Line 1
Column 'VisWebHoldSkema.FagNavn' is invalid in the select list because it...
August 1, 2013 at 8:36 am
Excellent job posting the details. I just couldn't quite see what you were trying to do before.
Something like this should get what you want.
select UserId,
MAX(Case when Ugedag = 'Mandag'...
July 31, 2013 at 12:39 pm
Minnu (7/31/2013)
Hi Team,how to create a new user with Password
User Name : STLOK
Password : STLOK
and it should be read - only user.
July 31, 2013 at 10:09 am
Lynn Pettis (7/31/2013)
FYI, Anyone considering Care Packages to Afghanistan, the first package from home took 9 days to get here.
Glad you checked in. Was thinking yesterday that I hadn't seen...
July 31, 2013 at 9:49 am
Brandie I was just thinking about you a couple days ago when I saw that Shadowrun Returns has been released. Not sure if you are familiar with the old super...
July 31, 2013 at 9:10 am
dwain.c (7/31/2013)
I agree that clarification is needed on what is meant by "best fit." That's why I asked if 4,6 shouldn't be the correct answer and offered some suggestions...
July 31, 2013 at 7:49 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...
July 31, 2013 at 7:45 am
Just a quick thought as I happened through here. Why do you have select top 100 percent in a subquery here? You have introduced a performance hit when it is...
July 31, 2013 at 7:41 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...
July 31, 2013 at 7:31 am
dwain.c (7/30/2013)
Before I suggest a solution, shouldn't the answer be 4,...
July 31, 2013 at 7:24 am
Viewing 15 posts - 7,336 through 7,350 (of 15,381 total)