Viewing 15 posts - 6,751 through 6,765 (of 59,070 total)
Hi Jeff, the DBA does not allow me the permission to create/use tally function. Can you provide a solution without using it please?
I wasn't suggesting that YOU create the...
July 16, 2020 at 6:42 pm
It's (a separate table) is a better practice for multiple reasons especially if it can't be altered without all hell breaking loose. The 4 columns you speak of (I refer...
July 16, 2020 at 4:04 pm
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...
July 16, 2020 at 2:28 pm
Erased my post... I found an exception to the code I was going to post.
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...
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...
July 16, 2020 at 6:36 am
p.s. SQL <> SQL so always identify which RDBMS engine you're using.
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...
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...
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...
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...
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...
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...
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...
July 16, 2020 at 4:02 am
Ah... understood on the offsets. Thanks, Jeff.
July 14, 2020 at 1:57 am
Viewing 15 posts - 6,751 through 6,765 (of 59,070 total)