on 01-11-2015 9:42 AM
Hi
I have a database to poll. They will not give database access. I have to read from the "view", and that has to be read every fifteen minutes. Can I use GETDATE function to read Data from View. I want to avoid duplication of records too
Regards
Harish
Hi everyone,
Is it possible to take all fields updated in the last twenty four hours from a Database View? It should not take fields updated bfore that.
We don't have an UPATE field here
Regards
Harish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>>>Can I use GETDATE function to read Data from View
i think you should be able to.
Like any select statement you just need to add this condition under where logic.
select * from view where your fieldname > getdate()
>>> I want to avoid duplication of records too
i don't know if you can update the tables using the same view that you used to fetch the record.
Do you know how is your view defined in database?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.