Viewing 15 posts - 6,766 through 6,780 (of 59,072 total)
Nah... it's easier than that. Create a stored procedure that does the work, give the spreadsheet user privs to execute it, and have them execute the stored procedure...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 16, 2020 at 2:28 pm
Erased my post... I found an exception to the code I was going to post.
--Jeff Moden
Change is inevitable... Change for the better is not.
July 16, 2020 at 6:46 am
This is a triplicated post and multiple solutions have been provided. Please... no posts here. Instead, see the following post where all the other answers are...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 16, 2020 at 6:39 am
Thanks, this is ECM Opentext software database server, I did not manage it until today I found the alerts. Asked their team they said some contractors are loading some...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 16, 2020 at 6:36 am
p.s. SQL <> SQL so always identify which RDBMS engine you're using.
--Jeff Moden
Change is inevitable... Change for the better is not.
July 16, 2020 at 6:30 am
Nah... it's easier than that. Create a stored procedure that does the work, give the spreadsheet user privs to execute it, and have them execute the stored procedure from their...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 16, 2020 at 6:28 am
My recommendation is to do this application side still, but if database side is the solution you need, this query should do it:
DECLARE @tmp TABLE
(
[Letters] VARCHAR(25)
);
INSERT...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 16, 2020 at 6:22 am
Shifting gears a bit, please read the first link in my signature line below for how to post example data in future posts to help us help you faster and...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 16, 2020 at 6:16 am
Just to throw my hat into the ring, here's my humble version... It uses the fnTally function that Steve posted.
First, here's the test data I used...
DROP TABLE...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 16, 2020 at 6:06 am
I am denied the permission to create the function here
Submit the fnTally function to the resident DBA for review and deployment. Be sure to include the header so they...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 16, 2020 at 4:48 am
What application would you suggest using for this, If i were to run row operations on the application side?
None. As you've seen by Phil's and Steve's solutions, T-SQL solutions...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 16, 2020 at 4:30 am
This is what I use stored procedures for. The store procedures are each crafted to do one an only one thing, to do it well, and to do it with...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 16, 2020 at 4:02 am
Ah... understood on the offsets. Thanks, Jeff.
--Jeff Moden
Change is inevitable... Change for the better is not.
July 14, 2020 at 1:57 am
@Jeffrey Williams...
I think you're on the right track but...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 13, 2020 at 11:57 pm
To be honest, I've tried several and I prefer the homegrown native backup methods.
--Jeff Moden
Change is inevitable... Change for the better is not.
July 13, 2020 at 10:10 pm
Viewing 15 posts - 6,766 through 6,780 (of 59,072 total)