BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
EduardoQuiroz
Obsidian | Level 7

 

Hola con base en  la macro automatica &SYSDATE9 ,quiero realizar una busqueda , pero no se puede  ya que los datos son diferentes, hay alguna forma de utilizar esta macro como parametro de consulta.?

 

EduardoQuiroz_0-1646754404444.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
PaigeMiller
Diamond | Level 26

 

WHERE FCH_CARGA = "&SYSDATE9"

 

FCH_CARGA es numérico y "&SYSDATE9" es carácter. Ambos deben ser numéricos.

 
Tal vez esto funcione
 
WHERE FCH_CARGA = "&SYSDATE9"d

 

 

--
Paige Miller

View solution in original post

2 REPLIES 2
PaigeMiller
Diamond | Level 26

 

WHERE FCH_CARGA = "&SYSDATE9"

 

FCH_CARGA es numérico y "&SYSDATE9" es carácter. Ambos deben ser numéricos.

 
Tal vez esto funcione
 
WHERE FCH_CARGA = "&SYSDATE9"d

 

 

--
Paige Miller
EduardoQuiroz
Obsidian | Level 7
Muchas gracias , si me funciono

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

Discussion stats
  • 2 replies
  • 465 views
  • 6 likes
  • 2 in conversation