Viewing 5 posts - 1 through 5 (of 5 total)
So i try to explain:
I have a table where select statement are saved:
(TABLEOFQUERY)
Row ID 1) SELECT * FROM MYTABLE1
Row ID 2) SELECT * FROM...
March 21, 2018 at 7:38 am
Is there no way to show a preview of RECORD COUNT for each SQL STATEMENT saved in rows ? :crazy:
March 20, 2018 at 9:39 am
Im looking for UDF executing query as parameter.
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE FUNCTION dbo.fnCountRecord(@SQL NVARCHAR(800))
RETURNS int
AS
March 20, 2018 at 8:39 am
USE [TEST]
GO
/****** Oggetto: Table [dbo].[MSPVISTE] Data script: 03/16/2018 12:13:49 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE...
March 16, 2018 at 5:25 am
I try a view like this :
SELECT Id, SqlWhere, SqlOrder, sp_executesql('SELECT COUNT(*) FROM MyTableOfContent WHERE ' + SqlWhere) AS RecordCount
FROM MyTableOfQuery
I need RecordCount...
March 16, 2018 at 4:41 am
Viewing 5 posts - 1 through 5 (of 5 total)