Viewing 15 posts - 826 through 840 (of 3,500 total)
If you're doing an insert where you don't want the constraints checked, you can script out the constraints on the table, then drop them, do the import, then add them...
February 12, 2020 at 2:26 am
Did you actually install SSMS? The weird thing about the newer installers from MSFT is that all the pieces are separate. If you search for it, can you find this...
February 11, 2020 at 8:37 pm
Don't think you can do that very easily with SSRS. the best I think you can do is to make the filters optional... Except you can't build complete filters through...
February 10, 2020 at 8:46 am
Too hard to just copy & paste your CREATE TABLE and INSERT scripts here?
February 10, 2020 at 3:34 am
Would be easier to help with some sample data... It can be completely fake, just representative.
February 9, 2020 at 6:42 pm
Some days I can't see the forest for the trees. If the filters are all optional, you can do the filtering in SSRS. (So you could have a whole bunch...
February 7, 2020 at 3:22 pm
If you think about DAX like a programming language, the functions either return scalar values or tables. And the functions in DAX receive either table-type objects or scalar values too....
February 7, 2020 at 3:08 pm
So you want to make some parameters optional?
SomeColumn = COALESCE(@ParameterName, [SomeColumn])
So If @ParameterName is not assigned a value, then the comparison evaluates to
SomeColumn = SomeColumn
… so it's...
February 7, 2020 at 5:52 am
Could you please post create table scripts and some sample data and expected output?
Since you're new here, welcome! And some reading: How to post a question to get the...
February 6, 2020 at 12:55 am
Just wondering, but why are you doing a PIVOT in T-SQL at all? Why not do it in the presentation layer (Excel, SSRS etc)?
if you absolutely have to do it...
February 4, 2020 at 4:54 am
You'll get tested answers if you provide some consumable data... How about...
SELECT ID, StartDate, EndDate, ContractValue, Manager
FROM
(VALUES (1,'2019-11-01','2020-06-30',45000,'Stephen Smith'),
(2,'2019-12-01','2020-07-30',75000,'Carol Kenin'),
(3,'2020-01-15','2020-08-30',25000,'John Gnan'),
(4,'2020-02-01','2020-09-30',40000,'Jacob Joklin')) z(ID, StartDate, EndDate, ContractValue,...
February 3, 2020 at 9:08 pm
I think I know what happened... MSFT was sneaking in updates while I was testing. Gotta love invisible updates.
February 2, 2020 at 4:24 pm
Looks like this might be what you're looking for:
SELECT acc, COUNT(DISTINCT(token)) AS dc
FROM Test1
GROUP BY acc
February 1, 2020 at 12:13 am
I think I tried the 2016 version. Any time I try to connect to an ACCDB, it fails. If I use Jet4.0 with an MDB file, it works fine. The...
January 31, 2020 at 10:22 pm
Viewing 15 posts - 826 through 840 (of 3,500 total)