Viewing 15 posts - 61 through 75 (of 141 total)
Eric, thanks for the reply - I get that, the tool isn't the deciding factor, or where most of the time should be spent. I chose to go with SSIS, because...
March 27, 2017 at 2:53 pm
This seems like the good case for the PIVOT expression. How far away is the below example? I've assumed "tbl_lookup" = "tbl_time" in your above example.
IF...
March 22, 2017 at 3:45 am
Thanks xsevensinzx, Jeff and Chris. I appreciate the confirmation there's nothing obviously wrong with the data placement in the diagram above, besides the lack of detail. I was being asked...
March 13, 2017 at 12:56 am
This is a controversial subject - the term for the structure is "One-True-Lookup-Table" (OTLT). It's a valid model, but I'm confident it's not the enterprise-grade best-practice it might look like.
February 8, 2017 at 11:59 pm
Hi pamenta,
You say the query should bring up all names that match "a criteria entered on a screen"; what do you mean by this? Is this query being...
February 5, 2017 at 11:38 pm
I believe you'd want to use windowing functions for this. Here's an example:
declare @temptable table(
eventdate date
)
insert into @temptable(eventdate)
select '20150101'
union all select...
January 31, 2017 at 4:24 pm
I have a table with the following information
I want to add...
January 30, 2017 at 11:48 am
I have been doing a lot of my own SQL over the years and...
January 28, 2017 at 9:08 pm
You're missing an "i" in rx.positive.
Also, your CASE statements should be returning 0 or 1 as integers (without the single quotes, which is identifying them as strings...
January 28, 2017 at 1:40 am
Here's a quick attempt at doing what I think you're after - does this do as expected?select
mytable.ID
, mytable.date
, mytable.[field 1]
...
January 26, 2017 at 1:01 pm
In t-sql 2012, I want to do a self join of a table to ifself.
The...
January 25, 2017 at 5:06 pm
Here's code that I think would do the trick, you would get better performance using windowing functions to do this, but my head's not in the game for that right...
January 23, 2017 at 11:10 pm
Hi gary1, that schedule looks good to me. Is there any history being logged for the SQL Server Agent job? If not, is the SQL Server Agent started? If it...
January 23, 2017 at 2:37 pm
January 16, 2017 at 1:31 pm
pietlinden (12/20/2016)
December 20, 2016 at 9:36 pm
Viewing 15 posts - 61 through 75 (of 141 total)