Viewing 15 posts - 1,036 through 1,050 (of 2,648 total)
.
May 2, 2020 at 10:55 pm
Heh... let the silliness continue. I just got an email saying...
KILL 99.9% OF BACTERIA & HARMFUL MICROBES
FORMS A PROTECTIVE SHIELD THAT DELAYS GROWTH OF HARMFUL MICROBES ON INTERIOR...
May 1, 2020 at 9:15 pm
The fastest way for you to do this is in SSMS Object Explorer, select the "Stored Procedures" node, then press F7. In the right-hand pane then select all the stored...
May 1, 2020 at 5:58 pm
Install this stored procedure
IF Object_Id(N'INFGenerateObjectScript', N'P') IS NULL
BEGIN
EXEC ('CREATE PROCEDURE [dbo].[INFGenerateObjectScript] AS BEGIN SELECT 1 END')
END
GO
GO
-- **********************************************************************
-- PROCEDURE INFGenerateObjectScript
-- Description:...
May 1, 2020 at 2:59 pm
I need to find all sprocs having a misspelled word and dynamically correct.
Why don't you have your stored procedure code in a source control system?
May 1, 2020 at 12:21 pm
Totally agreed about the usefulness of standards but I have to say that bad standards are as bad and sometimes worsen than no standards.
Agreed, but what's much worse is...
April 28, 2020 at 2:59 pm
Hi,
I have two tables, both the tables have 4 common columns,
First Column: LinkingID
Other four columns(Name,Department,City).
In few instances, we will get LinkingID row values, and few instances we don't have...
April 27, 2020 at 8:33 pm
The usual way to model this structure is like this:
IF OBJECT_ID('Path','U') IS NOT NULL DROP TABLE Path
IF OBJECT_ID('Node','U') IS NOT NULL DROP TABLE Node
GO
CREATE TABLE Node
(
... April 22, 2020 at 11:43 pm
Thanks for your response Phil. This would work, but I was attempting for it to be more dynamic. Needed to be able to feed a parameter becasue there are...
April 21, 2020 at 7:43 pm
To be honest: I don't think it is with Bind's realm to optimize the view - but it is an advice (s)he can forward to the manager.
In the question...
April 20, 2020 at 8:10 pm
A very good idea from Erland Sommarskog, you might be able to increase the performance even more if the view needs optimising.
The first thing to try is to paste...
April 20, 2020 at 7:45 pm
I can even work with a query instead of view.
Again,I just want to confirm if working with a table runs fast than a view?
I would start by trying to...
April 20, 2020 at 7:09 pm
Sorry to say this.
Actually I am new to working on SQL and creating SSIS Packages. So, can you please explain that to me in a simplified way.
If the table...
April 20, 2020 at 3:47 pm
This is the fast way John Mitchell mentioned:
SELECT SUM(P.[rows]) AS [RowCount]
FROM sys.tables AS T
INNER JOIN sys.partitions AS P
...
April 20, 2020 at 2:52 pm
You could build the query using dynamic SQL, that way you wouldn't be referring to columns that don't exist in your query.
Also, (this isn't going to fix your problem) instead...
April 17, 2020 at 2:20 pm
Viewing 15 posts - 1,036 through 1,050 (of 2,648 total)