I'm looking for the right syntax or even if I'm doing this right. I want to find records with certain SIM numbers and when I find that group I only want the ones that also have other certain SIM numbers.
What I have below errors out "near the keyword IF". Am I supposed to be doing a join...
I have 3 tables.
One is a visit table. Visits have charges connected with them.
The second is a charges table and one is a transactions table. Transactions are always connected to charges.
The transactions table has payments and adjustments in two separate fields, in separate records.
There...
CR11
My database stores the date as 20090401 and I am trying to use that as a parameter in my record selection and want the user to use the calendar icon. If I just use the field as it is the user doesn't get the calendar and has to input 20090401.
I converted it to a date with a formula and...
I'm using SQL Server 2005.
I found out after trying this that the SP wants the user to enter a date for AltStartDate but I just want it to assign a date itself (I would either assign it as today's date and subtract a day in the Where clause - or maybe it would be easier to assign it yesterday's...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.