I don't know if I'm posting this in the correct forum, so I apologize if it should be elsewhere.
I'm in the midst of converting one of our Access DB's to use an SQL backend. I already have the tables converted but I was also pondering converting some of my more heavily used queries to SQL views. I'm using Enterprise Manager and I don't have an extensive knowledge of SQL and I ran into a road block with my Access queries that contain fields based on "iif" statements like the following:
Fieldname: IIf([type]="A",IIf([FLDR]="B",[LENGTH]*[WIDTH]*[DEPTH],([LENGTH]+0.375)*([WIDTH]+0.375)*([DEPTH]+IIf([FLDR]="C",0.5,0.625)))/1728,Null)
Would this even be worth the effort or should I just let them on the Access FrontEnd? If it is worth it, how can I go about creating a field in a "view" that can do the same thing as the "iif's" I use in the Access query fields.
If this is unclear, I can email screenshots and detailed examples.
Thanks in advance.
I'm in the midst of converting one of our Access DB's to use an SQL backend. I already have the tables converted but I was also pondering converting some of my more heavily used queries to SQL views. I'm using Enterprise Manager and I don't have an extensive knowledge of SQL and I ran into a road block with my Access queries that contain fields based on "iif" statements like the following:
Fieldname: IIf([type]="A",IIf([FLDR]="B",[LENGTH]*[WIDTH]*[DEPTH],([LENGTH]+0.375)*([WIDTH]+0.375)*([DEPTH]+IIf([FLDR]="C",0.5,0.625)))/1728,Null)
Would this even be worth the effort or should I just let them on the Access FrontEnd? If it is worth it, how can I go about creating a field in a "view" that can do the same thing as the "iif's" I use in the Access query fields.
If this is unclear, I can email screenshots and detailed examples.
Thanks in advance.