Viewing 15 posts - 226 through 240 (of 670 total)
This still doesn't help. We don't have any information about Company.Schema.GeneralParameter, Company.Schema.ClaimMain, Company.Schema.PolicyCover or any other table. Stopped looking after a while. I'm not going to try to create the table structures...
August 21, 2018 at 9:37 am
This works if there are up to 4 levels
select Case when C4 is not null
then Space(12)
when C3 is not null
then Space(9)
August 21, 2018 at 9:17 am
can you provide DDL and sample data as well as what you're expected outcome should look like?
August 16, 2018 at 8:30 am
This is calling an SSIS package. You'll need to check connection strings to make sure you are actually using the databases you think you are. Also, when you debug, are...
August 15, 2018 at 9:01 am
I looked at the link. It is a 9 year old solution that does need modifying. I would use SSIS and as opposed to this script, but here's a quick...
August 10, 2018 at 9:03 am
are they all the same format? You could setup an SSIS package to process all xls file in the folder. That import data function creates an SSIS package. At the...
August 9, 2018 at 10:46 am
Stop the deletion!!! Are you just doing a straight delete from ....? This will lock the table, even worse if there are foreign keys with cascade delete. You should put...
August 9, 2018 at 10:40 am
Is this a 1 time thing or does it need to be repeated in each environment? You can use the import wizard in SSMS to point to the source and...
August 9, 2018 at 7:37 am
can you grab the actual query that the app is sending (the sp_cursorprepexec statement)? Run that in ssms to see how it performs. At least then it's apples to apples. Then...
August 9, 2018 at 7:30 am
It's always helpful to provide DDL and data
drop table if exists #temp
create table #Temp (AgentID int,
PhoneNumber varchar(20),
Description varchar(20))
insert into...
August 8, 2018 at 12:28 pm
Damn you Dense_Rank. Should've known Jeff wrote something about this. Thanks for all your help
August 2, 2018 at 12:37 pm
do you get any errors when running? You should try putting a try/catch around it instead of using @@Error. It could be permissions, but it could also be the mapped...
July 30, 2018 at 7:53 am
It was just the way I read it. I apologize and I'm glad it was me who misinterpreted it and not your intent. As far as dropping tables, those we...
July 27, 2018 at 6:32 am
here is what I think the ddl is that I asked you for, but your search criteria doesn't make any sense. can you elaborate? Also, Phil's been on this forum...
July 26, 2018 at 10:54 am
Please provide ddl, sample data and expected output. Looking at your query, the coalesce function on the where clause isn't good
July 26, 2018 at 9:43 am
Viewing 15 posts - 226 through 240 (of 670 total)