Viewing 15 posts - 3,466 through 3,480 (of 13,855 total)
IIF() is 2012 onwards. What is the compatibility level of your database?
July 2, 2019 at 8:23 pm
The code you posted has no syntax issues that I can see.
You should add in the table alias for InstructorInt, otherwise it looks fine.
July 2, 2019 at 8:22 pm
Not an IF/THEN, but an if and only if:
SELECT OriginalDatabaseId = iif(InstructorInt = -1,-1,p.PeopleId)
Note also that stateAbbrveation appears to have been abbreviated 🙂
July 2, 2019 at 8:09 pm
People might be able to help, if you can ask the question properly & post DDL, INSERT statements and desired results. I have no idea what you are asking for...
July 2, 2019 at 6:45 pm
Databases are always restored to a separate Dev or Test server for testing and debugging,.....
Good to see.
But what about making a copy of an existing database in Dev, for...
July 2, 2019 at 6:43 pm
If this is within a stored proc in the database, please consider removing the EtiquetasKLC. prefix from the table names. This is a bad practice, unless you are...
July 2, 2019 at 3:57 pm
Any ideas people?
No offence, but this task would seem to be beyond your current level of SSIS capability. There is quite a gulf between what you know and what...
July 2, 2019 at 12:12 pm
How would you configure bitbucket if 2 or more developers are working on the same SSIS project? My vision is for developers working on separate packages and then committing...
July 1, 2019 at 6:34 pm
This is awful!
But it can be decomposed.
July 1, 2019 at 4:49 pm
So, speaking of formatting tools, I just got a complaint because I formatted the code from the stored procedure that I worked on and that generated too many differences...
June 27, 2019 at 3:51 pm
You should be able to do it all in a single statement, and therefore won't need an explicit transaction. Something like this.
INSERT EtiquetasKLC.dbo.etiquetas
(
nome_posto
...
June 27, 2019 at 2:18 pm
At times stuff gets merged from dev that might be in flight and we don't want to release the QA stuff yet until something is fixed.
Sounds like you should...
June 26, 2019 at 7:04 pm
If you have a large volume of data to compare and your chosen solution is very slow, please post back.
June 26, 2019 at 5:01 pm
The CallEnded time 12:14:30 appears in your desired output example, but does not appear in the source data. Why is that?
June 25, 2019 at 7:29 pm
Viewing 15 posts - 3,466 through 3,480 (of 13,855 total)