Viewing 15 posts - 3,541 through 3,555 (of 13,855 total)
Ok how do I use a Table Variable
A quick example:
DECLARE @Who TABLE
(
SPID CHAR(5)
,Status NVARCHAR(50)
,Login NVARCHAR(50)
...
June 7, 2019 at 9:09 pm
I think you'll need recursion to solve this. Try running the following:
DROP TABLE IF EXISTS #table2;
CREATE TABLE #table2
(
id INT NOT NULL --PRIMARY KEY...
June 7, 2019 at 7:24 pm
NOT LIKE '836%'
works. If you think it doesn't, please provide a query which we can run to prove otherwise.
June 6, 2019 at 7:38 pm
Note also that SSISDB does not contain any jobs, merely packages, logs, environments and configurations.
June 6, 2019 at 2:22 pm
Do you have the Master Key from the original server? That is, the key used to encrypt (some of) the data inside SSISDB?
June 6, 2019 at 2:20 pm
Or maybe this?
a) Users are querying table set A via synonyms
b) ETL process loads table set B with data from file1
c) ETL process switches synonyms to point to table set...
June 6, 2019 at 1:50 pm
Great Idea! Thanks Phil. This would work if they were loading a full set of data each day, but unfortunately its an incremental load, meaning 24 hr of data...
June 6, 2019 at 1:44 pm
Sorry, can't make any changes to datatypes, columns in the DB.
This will run like a slug (because no indexes can be used), but try
...
WHERE
CAST(RecvdDate AS Date)...
June 5, 2019 at 10:37 pm
Any reason for not changing [RecvdDate] to a Date?
June 5, 2019 at 10:22 pm
Here is what I found. db2 - account_no - data type - decimal sql - account_no - data type - decimal in lookup, i have to use both columns...
June 5, 2019 at 10:07 pm
There is also a traceflag/command for using the old carnality estimator .
Don't remember reading about that in BOL!
June 5, 2019 at 9:07 pm
I called it a daily file in my hypothetical scenario of one that has the same structure of the tables. Sorry if that was not clear or got lost...
June 5, 2019 at 8:13 pm
Did you do your research into the new cardinality estimator? See here, for example.
June 5, 2019 at 8:00 pm
Viewing 15 posts - 3,541 through 3,555 (of 13,855 total)