Viewing 15 posts - 3,976 through 3,990 (of 26,490 total)
jay81 (4/7/2016)
One can view the Trigger definitions by querying syscomments view.You can sys.objects to get all the triggers.
The system view sys.triggers will work as well.
April 7, 2016 at 2:01 pm
Ed Wagner (4/7/2016)
Brandie Tarvin (4/7/2016)
SQLRNNR (4/7/2016)
Brandie Tarvin (4/7/2016)
Brandie Tarvin (4/7/2016)
SSIS is freaking out on me all of a sudden. I would appreciate help on this.
NEVERMIND.
Stupid power users changing table...
April 7, 2016 at 1:58 pm
Rod at work (4/7/2016)
Peter Schott (4/6/2016)
April 7, 2016 at 10:50 am
Luis Cazares (4/7/2016)
Lynn Pettis (4/7/2016)
This:
INSERT into [JP_CDM].[case]
SELECT
*
--ucn,
--lcn,
--court_id,
--case_initiation_date,
--case_restriction_flag,
--county,
--date_disposed,
--recurrent_flag,
--intestate_testate_flag,
--case_referred_to_mediation_flag,
--contested_flag,
--jury_trial_flag,
--outstanding_warsumcap_flag,
--pro_se_flag,
--record_source,
--record_state,
--create_user,
--create_date,
--maint_user,
--maint_date
FROM
#case_tmpTable;
select * from #case_tmpTable
Is not going to work as there are not an equal number of...
April 7, 2016 at 9:54 am
Rod at work (4/7/2016)
Peter Schott (4/6/2016)
April 7, 2016 at 9:15 am
Andy Warren (4/7/2016)
Seems to work fine. Only issue I...
April 7, 2016 at 9:11 am
BL0B_EATER (4/7/2016)
April 7, 2016 at 9:07 am
jpgillum (4/7/2016)
drop table #case_tmpTable
SELECT * INTO #case_tmpTable FROM [JP_CDM].[case]
where 1 = 2
ALTER Table #case_tmpTable
DROP COLUMN case_id
------------------------------------------------------
The code above creates the temp table structure based on the...
April 7, 2016 at 9:05 am
Jeff Moden (4/6/2016)
jpgillum (4/6/2016)
[font="Arial Black"]Do the required processing and load the #case_tmpTable
[/font]Then do the insert into the target table without specifying the column names.
I can now use the Select *...
April 6, 2016 at 5:28 pm
Andy Warren (4/6/2016)
April 6, 2016 at 5:07 pm
Sean Lange (4/6/2016)
SQLRNNR (4/6/2016)
jasona.work (4/6/2016)
SQLBill (4/6/2016)
Sean Lange (4/5/2016)
Luis Cazares (4/5/2016)
Phil Parkin (4/5/2016)
Gail and I are gamely persevering with this one. I think my pressure limit has been reached now, though.
I...
April 6, 2016 at 4:57 pm
When you someone points you to an excellent solution, why would you reinvent the wheel using a much more inefficient method and then try to defend it?
April 6, 2016 at 9:41 am
djj (4/6/2016)
GilaMonster (4/6/2016)
Well it's lunch time, so
Lentil, chicken, bacon and feta salad(also contains cucumber, spring onion and pepperdew)
Had to look up pepperdew, sounds good. Breakfast time here, blueberry muffin...
April 6, 2016 at 9:08 am
Sean Redmond (4/5/2016)
Working from home is hard. I do it now and then when a child has an appointment at the doctor's and when my wife is not at...
April 6, 2016 at 8:58 am
kichian (4/6/2016)
SELECT TOP 1 * FROM #temp WHERE ValidFrom > getdate() ORDER BY ValidFrom ASC
You sure about this" If getdate() returns 2016-04-06 and your valid froms include 2014-01-01, 2015-01-01,...
April 6, 2016 at 8:46 am
Viewing 15 posts - 3,976 through 3,990 (of 26,490 total)