Comments (5)
It's possible, but to do a thorough job would mean handling all the different rules from https://docs.microsoft.com/en-us/sql/t-sql/functions/cast-and-convert-transact-sql, which is no small task. If there's other use cases that make this more important I'll take a deeper look at it, but as your example could be handled by where logdate >= '2020-09-25' and logdate < '2020-09-26'
this seems a disproportionate amount of work for the benefit gained here.
from sql4cds.
OK, thanks for the heads up - feel free to close this then
from sql4cds.
I'll keep it open as I do see errors related to people trying to use this occasionally, just don't expect it to be implemented soon!
from sql4cds.
I have another use case for cast function:
update X
set
property1 = y.Property2
from tableA X
join tableB y on x.prop = y.prop
Property1 with property2 are same values but with different type.
from sql4cds.
This will be supported in v5 (soon)
from sql4cds.
Related Issues (20)
- The sequence contains several matching elements.
- SQL 4 CDS ability to change default font size in window where code is written
- Support for SSMS version 20.0 HOT 2
- 【Bug?】KeyNotFoundException HOT 1
- Slowness in updating account records in prod HOT 1
- Tab navigation
- Where on changedata from audit not working
- NullReferenceException on Exists
- "Object reference not set to an instance of an object" if a column is not available in tables / subqueries HOT 1
- Number of records impacted by delete displays 0 records HOT 4
- SSMS Null error in log HOT 1
- Error "DeleteMultiple has not yet been implemented" HOT 4
- 50.000 limit on update query with join HOT 2
- Recycle bin access
- [Question] initiatingPluginExecutionContext.InitiatingPluginInfoProvider is null. Restricted API is not called by Microsoft publisher plugin. HOT 2
- [Feature Request] Alphabetically Sorting Parameters when Selecting from CustomAPI
- Object reference not found error
- Join with subquery in condition
- Adding a column alias can screw up the values HOT 1
- Can't delete entity records whose entity has a 1:N relationship to a virtual entity HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sql4cds.