Viewing 15 posts - 1 through 15 (of 283 total)
I like Jeff's approach here, but my preference when moving large amounts of data from table A to table B on a different database is to do it outside...
March 23, 2021 at 4:25 pm
Don't give the privs to the user. Instead, write a stored procedure that uses EXECUTE AS OWNER and give the user privs to execute that stored procedure.
That is the...
March 23, 2021 at 4:15 pm
From Donald Knuth & Sir Tony Hoare:
Computer Programming as an Art (1974)
1974 Turing Award Lecture, Communications of the ACM 17 (12), (December 1974), pp. 667–673
The real problem is that programmers have spent far too much...
October 2, 2020 at 12:59 pm
You are mixing some keywords from the SQL case statement with T-SQL. Try this instead:
if condition1
SET @Max2 = 1
else if condition2
SET...
June 23, 2020 at 1:18 pm
If fails because you have '9,T' in the column CPTFirst but you are only checking to see if CPTFirst is EQUAL to 9,D,G or H. I think you will need...
February 28, 2019 at 4:08 pm
You just want ID's that are all W2's? Is that correct?
Is this what you are trying to do or is it more complicated than this?
October 29, 2018 at 8:59 am
address
UNION STREET RYDE ISLE OF WIGHT
UNION STREET RYDE ISLE OF WIGHT
Thanks
Dave
P.S. the spaces...
October 26, 2018 at 7:05 am
October 25, 2018 at 8:29 am
October 19, 2018 at 6:13 am
October 19, 2018 at 5:53 am
September 24, 2018 at 6:02 am
misstryguy - Thursday, September 20, 2018 11:48 AMThis works great! Thank you so much Linksup!
Thanks for the feedback!
September 20, 2018 at 12:50 pm
I see one issue, when the...
September 20, 2018 at 11:41 am
This is a possible solution.
with amtsI
as
(
select amountI, name, row_number() over(order by amountI desc) rowNum
from test
)
select *
...
September 19, 2018 at 8:11 pm
March 20, 2018 at 11:28 am
Viewing 15 posts - 1 through 15 (of 283 total)