Viewing 15 posts - 781 through 795 (of 2,649 total)
my advise is for your company to hire a good SQL Consultant with both code and Data analysis experience to go through your issues and find out what happened and...
August 29, 2022 at 6:12 pm
you going to replace a PROD DB with a non prod one? how is it that your QA db is correct and your prod is bad? or is it just...
August 29, 2022 at 4:15 pm
it will have issues with connecting to prior SSIS instances.
for plain SQL database/dba access it should be fine with 2008 - maybe not 2005.
latest versions also have the "debug" option...
August 26, 2022 at 2:21 pm
what is the database compatibility level?
Assigning a value to a variable as part of the declaration is only possible if the database is a certain level - don't remember which...
August 18, 2022 at 9:47 am
Bruin wrote:Is there a script that will report savings for Page Compression?
Thanks.
yes - its called "read the manual"
Sometimes, that's difficult because a lot of technical manuals aren't written...
August 15, 2022 at 6:36 pm
Is there a script that will report savings for Page Compression?
Thanks.
yes - its called "read the manual"
August 15, 2022 at 5:10 pm
might be good to post a link to the tool you are using
August 10, 2022 at 5:50 pm
@Ed B - in order to truncate a partitioned table , the table and indexes must be aligned (partitioned on the same partition function).- see https://docs.microsoft.com/en-us/sql/t-sql/statements/truncate-table-transact-sql?view=sql-server-ver15
@ScottPletcher - while for a...
August 8, 2022 at 9:30 pm
how is the packaging being executed? and are those parameters to the SP also parameters to the execution of the package?
August 8, 2022 at 3:56 pm
Create a unique clustered index on ( TNR_DATE, GSN_ID ). You can still have a nonclustered PK on GSN_ID alone.
and how will the OP create a non clustered PK...
August 8, 2022 at 2:10 pm
for SQL 2008 R2 SSMS was installed as part of the SQL Server installer - you can get it from there.
to avoid installing it on your pc I would check...
August 8, 2022 at 9:25 am
as it would be a unique index I don't believe there would be negative impact on that table (at least not significant).
for the trigger - yes the idea is that...
August 8, 2022 at 6:46 am
instead of a Primary Key you can define it as a Unique Index.
one of your issues is how you ensure that GSN_ID remains unique throughout the table. - a update/insert...
August 7, 2022 at 4:42 pm
see this https://stackoverflow.com/questions/761121/performance-issue-comparing-to-string-format for a small compare rewrite - very specific but it kind of addresses performance.
and then https://hashnode.robinrottier.com/net-6-string-format-performance and https://devblogs.microsoft.com/dotnet/string-interpolation-in-c-10-and-net-6/
main issue with "format" is that it has soo much...
August 7, 2022 at 1:40 pm
another question is why are you converting to NVARCHAR - is your software now going to be used by users that require data that does not fit on a VARCHAR?...
August 7, 2022 at 6:49 am
Viewing 15 posts - 781 through 795 (of 2,649 total)