Viewing 15 posts - 3,481 through 3,495 (of 13,877 total)
+1 for everything Steve wrote.
If it works, why change it? There need to be some serious benefits in order to justify this.
July 5, 2019 at 7:49 pm
You must work in Toyland.
Where others use variations of "foobar" for things they can't think of a name for, I use variations of "noddy". You're not the...
July 5, 2019 at 1:44 pm
Excel files are (compressed) XML files.
And the references to Excel.Sheet, ExcelWorkbook and the like are rather compelling. Are you certain about this?
July 4, 2019 at 10:51 pm
If you are importing an Excel file, why not do it like this?
July 4, 2019 at 7:52 pm
That being said, I think what I posted for your CASE should work;
Your sample SQL assumes a maximum hourly rate of 10,000! Maybe I am in the...
July 4, 2019 at 7:49 pm
Wow, you refused to format your code, even though I mentioned how to do it! For the benefit of others, here it is again.
USE TMWSUITE;
GO
/****** Object: ...
July 3, 2019 at 1:53 pm
XML files come in different formats. Is your question about a particular format, or about how to use the XML source, or something else?
... so I can see it has...
July 3, 2019 at 1:47 pm
Please, attach the query in TXT file . Office files can be with viruses or macros .
Better still, just paste it into a post (using the Insert/edit code...
July 3, 2019 at 1:42 pm
Not possible. You could try different things which wouldn't cost money such as download an evaluation version of 2016, restore the database there and then script everything out, bcp...
July 2, 2019 at 9:39 pm
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
Viewing 15 posts - 3,481 through 3,495 (of 13,877 total)