Daily Lucky Numbers:
6
18
23
29
39
48

Date selection parameter in openquery?

Started by Bazooka, April 25, 2022, 09:25:52 AM

Previous topic - Next topic

Bazooka

Hey, is it possible to add a date selection parameter in openquery in T-SQL? e.g: @DataOfdate and @DataDo date?

I am looking for a way to optimally query data from another server and I want to avoid writing syntax from LinkedServer.
Thanks