Viewing 15 posts - 391 through 405 (of 842 total)
Makes more sense now. So you want columns returned for the 'Fed' values and columns returned for the 'state' if they exist.
You could set up multiple joins to...
June 5, 2018 at 9:50 am
Still not clear to me what you are after.
If this is a one to many:INNER JOIN VisualCACTUS.ProviderLicenses AS l
ON p.Provider_K = l.Provider_K
June 5, 2018 at 8:48 am
Not real sure what you are asking for. Are ou wanting to set a field in your select statement for licensetype? You could use a CASE statement for that. Or...
June 5, 2018 at 8:07 am
Based on the assumption that the report_begin_date will always be the first date of the year, this logic will get the correct dates. If you calc the 1 year back...
May 23, 2018 at 3:28 pm
May 21, 2018 at 2:25 pm
If you do an inner join to the BUD table you shouldn't need the EXISTS.SELECT GLT.GLL_Account AS Account,
GLT.Amount AS Current_Expenses,
GLT.COP_Period AS Period,
GLT.GLT_TransDate AS Trans_Date,
May 17, 2018 at 3:08 pm
"I'd rather take lower pay and work 40 hours/week versus a higher pay and not have a life."
I had this conversation in an interview. A couple years ago I...
May 17, 2018 at 9:40 am
Here is some SQL I stole that will search across all databases on the server.
DECLARE @sql VARCHAR(8000);
DECLARE @SearchText NVARCHAR(255);
May 9, 2018 at 12:21 pm
May 9, 2018 at 7:28 am
You will need to give more details for the best answer. Look at what Indexes are on each table and provide that info. Table definitions, and some sample data would...
May 8, 2018 at 12:15 pm
I would use SSIS to bring in the CSV file into a SQL table, as mentioned earlier. Then use SQL to compare the data.
You could look at the...
May 8, 2018 at 10:21 am
May 3, 2018 at 10:50 am
May 3, 2018 at 10:46 am
A DBA walks into a restaurant, then runs screaming from the building. Why? All of the tables were empty.
May 2, 2018 at 11:04 am
What do you get when you cross a shark with a porcupine? A SQL(sea quill). Or SQL BITeS
May 2, 2018 at 8:13 am
Viewing 15 posts - 391 through 405 (of 842 total)