Comments
Sort by recent activity
Thanks, I'll ask about this. I've got 3.0.18 as well. The generation should be very quick / comments
Thanks, I'll ask about this. I've got 3.0.18 as well. The generation should be very quick
I'm slightly confused, but maybe you can help. When you say modestly sized, I assume you have a number of tables, views, procs, etc. When you say the import and Generate Scripts take a long time to complete, I assume you mean that only one object changed, so why was this taking so long? If that's right, the reason is that we need to build a dependency tree. You change one proc, but does that cause other issues in a chain? When we generate a script, we need to determine not only what changed, but what the potential issues are. If you're changing one procedure, that's usually all that's affected but we can't know that, especially if the change is from another client SSMS/VSCode/ADS. So we walk a tree to see what's changed and then need to compare that to the existing view to capture the change. At times generating the script is non-trivial, and it can be hard to do this accurately without doing a full compare.
/ comments
I'm slightly confused, but maybe you can help. When you say modestly sized, I assume you have a number of tables, views, procs, etc. When you say the import and Generate Scripts take a long time to...
Apologies, the target is really a release term. That's where you pick the end database. For build, you need a temporary place to compile the code. The temporary server is where the code would run. This needs to support TRIM() [image] / comments
Apologies, the target is really a release term. That's where you pick the end database. For build, you need a temporary place to compile the code. The temporary server is where the code would run....
What's the build target? The only compiler the build process has is the SQL Server engine. If you've targeted LocalDB or a version that doesn't support TRIM(), then things might not work. / comments
What's the build target? The only compiler the build process has is the SQL Server engine. If you've targeted LocalDB or a version that doesn't support TRIM(), then things might not work.
The developers are aware this is an issue and they're looking into it. No word on when this might be fixed, but I'm hoping soon. / comments
The developers are aware this is an issue and they're looking into it. No word on when this might be fixed, but I'm hoping soon.
Is there broken code after the area you're trying to format? If I get my code into a batch, it seems to format. If you have an example of the code for me to test, I'd be happy to. I have 9.2.7 on this machine, but 9.2.9 on another. / comments
Is there broken code after the area you're trying to format? If I get my code into a batch, it seems to format. If you have an example of the code for me to test, I'd be happy to. I have 9.2.7 on t...
I've noticed this as well. I've sent a note off to see if this is a fundamental behavior change or a bug. I have been able to get this to work by putting a "GO" before my statement/query and then formatting it. / comments
I've noticed this as well. I've sent a note off to see if this is a fundamental behavior change or a bug. I have been able to get this to work by putting a "GO" before my statement/query and then f...
I'm assuming your migration script uses the procedure to do some work? I'd that right? What is say here is you can really only do one thing and thats include the proc crrate in the migration script . It will also be in the programmable object and that should just ovewrite with the version stored there. I'd do this in an idempotent way so that in future deployments if the proc exists, we don't try to recreate it .Not create it alter but an if exists(check sysobjects). Toss isn't great but it does solve the issue here. In the future, this also ensures builds work from scratch . Even if the proc changes, the valid version of the proc that works with this migration script works. I think if you deoy the proc first, to both shadow sha downstream environments, then add the script this may work, but if have to test. However, any deployments to a new system, like a new developer setup, would fail so I'd rather just inline the proc in the migration script, knowing that all future changes are handled as a part of the programmable object / comments
I'm assuming your migration script uses the procedure to do some work? I'd that right?What is say here is you can really only do one thing and thats include the proc crrate in the migration script ...