Database view which shows the change request which have planned start date is 4 days from today

jitendrag
Tera Expert

I have created a database view to export the data to mid server.I have used the below tables.

Outages

Change request 

Cmdb_ci

 

In this database i want to only show the change requests which have planned start date 4days from Today

 

Can any one help me how to achieve this??

 

Thanks in advance

1 REPLY 1

I need to export the data everyday and which Today date you mentioned will change. How to achieve the dynamic date in where clause??

Can i use this code gs.beginningOfToday() + 4*24*60*60*1000.