Viewing 15 posts - 2,071 through 2,085 (of 10,143 total)
As good an example of cowboy coding as I've ever seen. It's probably a half-day of work for a competent developer to replace this pile of doom with properly-written, scalable,...
October 8, 2015 at 4:56 am
What do you see when you stare & compare?
SELECT
LKC.combo, lockCombo1
FROM [Inputtb] A
JOIN test.dbo.School SCH
ON A.schoolnumber = SCH.type
and A.schoolnumber = @SchoolNumber
JOIN test.dbo.Locker LKR
ON SCH.schoolID =...
October 8, 2015 at 4:46 am
If any of you love Monty Python:
......the Knights that say "ni" will be in Soho Square at about 6pm along with John Cleese and one or two others.
October 8, 2015 at 1:19 am
jhutchings (10/7/2015)
I'm trying to replace a particular part of a row in a table with a new value.
The row is called "DataPath" and it has a lot of...
October 7, 2015 at 9:49 am
ScottPletcher (10/7/2015)
You don't really need asubqueryderived table here....
No, but they help clarify the solution. Like TSQL isinglass.
October 7, 2015 at 9:29 am
woody_rd (10/7/2015)
October 7, 2015 at 9:03 am
woody_rd (10/7/2015)
October 7, 2015 at 8:46 am
woody_rd (10/7/2015)
October 7, 2015 at 8:40 am
woody_rd (10/7/2015)
Student TestTypeDate TestCnt
111-22-1111English2015-09-01 10:00:00 1
111-22-1111Math2015-09-02 11:00:00 2
111-22-1111Geo2015-09-03 12:00:00 3
222-11-2222English2015-09-01 10:00:00 1
333-22-1111English2015-09-01 10:00:00 1
333-22-1111Math2015-09-02 11:00:00 2
444-11-2222English2015-09-01 10:00:00 1
555-11-2222English2015-09-01...
October 7, 2015 at 8:29 am
orenk (10/7/2015)
I have in my select a column called "Mitarbeiter". I like to search for Mitarbeiter in ('SB','MS','BE') or Mitarbeiter not in ('SB','MS','BE')
The 'IN' or 'NOT IN' I want...
October 7, 2015 at 6:45 am
WHERE NOT EXISTS may be a little more intuitive. Borrowing John's code:
SELECT
r.Recipe_number,
r.Recipe_name
FROM tblRecipe AS r
WHERE NOT EXISTS (
SELECT 1
FROM tblRecipeAllergen AS a
WHERE a.Recipe_number = r.Recipe_number
AND a.Allergen = 'Milk'
)
October 7, 2015 at 4:37 am
SQL Galaxy (10/7/2015)
I am not a developer. but I will try my best.
Could you give me any example for how will change existing nested cursor to...
October 7, 2015 at 3:43 am
Mahesh Bote (10/7/2015)
I have a situation. I have one conditional UPDATE statement in stored procedure which updates one column based on other columns in same row. To fulfill the...
October 7, 2015 at 3:20 am
_watching (10/7/2015)
It's quite interesting because charindex seems...
October 7, 2015 at 3:11 am
SQL Galaxy (10/7/2015)
I have verified at DB level for Index farg and statistics are normal but still execution take long time to completed.
Actual Execution plan does not suggested any missing...
October 7, 2015 at 2:32 am
Viewing 15 posts - 2,071 through 2,085 (of 10,143 total)