... respective database tables are prefixed with "v25_" and "v34_". So an example MySQL statement will be:
`v25_db`.`v25_tablename`
-- with the database name and table prefix of database you are READING ...
... and the data types will be correct and maybe they'll resolve issues faster than if they were given scrambled data (see my articles on DataJumble and DataScramble).
How?
CREATE PROCEDURE [Common].[usp_ScrambleMultivalue]
(
@TableName ...
... - Sorna Kumar
IF OBJECT_ID('usp_SearchDB','P') IS NOT NULL
DROP PROCEDURE usp_SearchDB
GO
CREATE PROCEDURE usp_SearchDB
@Tablenames VARCHAR(500)
,@SearchStr NVARCHAR(60)
,@GenerateSQLOnly ...
... 'dbo.usp_MakeTableTemp', 'P' ) IS NOT NULL
DROP PROCEDURE dbo.usp_MakeTableTemp;
GO
-- Create Stored Procedure
CREATE PROCEDURE dbo.usp_MakeTableTemp
@SchemaTableName nvarchar(100)
AS
BEGIN
...
This was called a Data-Scrambling Function but it depends on what you mean by "scrambling". This is a function which merely uses the same characters but switches their order randomly, so I've renamed ...
... ItemName,
DATEPART(dayofyear, ItemDate) as DayOfYear,
DATEPART(year, ItemYear) AS YearRun,
COUNT(ItemName) AS Counter
FROM
TableName
WHERE
ItemDate BETWEEN '01/01/2010' ...
...
The following is a MYSQL query that finds all columns (displayed as "tablename.columnname") that had the data_type TEXT across all databases:
SELECT CONCAT(TABLE_NAME, '.', COLUMN_NAME) AS value ...
We use cookies to improve your experience on our website. By browsing this website, you agree to our use of cookies. Read more about our Privacy Policy.