declare mydate datetime
set mydate='2017-09-16-
ASKER
Microsoft SQL Server is a suite of relational database management system (RDBMS) products providing multi-user database access functionality.SQL Server is available in multiple versions, typically identified by release year, and versions are subdivided into editions to distinguish between product functionality. Component services include integration (SSIS), reporting (SSRS), analysis (SSAS), data quality, master data, T-SQL and performance tuning.
TRUSTED BY
ASKER
I was near.
The first code with minor mod kind of works but not completely. I'm working on it. If I fail, I'll get back to you.
The send code with declared variable reports
'datetime' is not a recognized CURSOR option.
What does that mean?
Sorry I'm replying quickly otherwise I would have searched for the error.
Thanks