Viewing 15 posts - 3,976 through 3,990 (of 8,761 total)
Steve Jones - SSC Editor (1/13/2016)
January 15, 2016 at 4:37 am
arkiboys (1/15/2016)
Using the foreachloop I loop through excel files to get the filename andthen start loading the data into sql server using oledb...
1- I get the filename
2- Then...
January 15, 2016 at 2:23 am
simone.hagiu (1/15/2016)
Im struggling with a problem here. I have an app with a lot of screens based on an sql database using a lot of stored procedures. The app...
January 15, 2016 at 2:18 am
jacksonandrew321 (1/14/2016)
Cannot initialize the data source object of OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server...
January 15, 2016 at 12:27 am
GilaMonster (1/14/2016)
January 14, 2016 at 11:21 pm
krypto69 (1/14/2016)
I ended up using:
CREATE TRIGGER NoDeleteMedicalGroup ON dbo.Medical_Group
INSTEAD OF DELETE
AS
BEGIN
ROLLBACK;
END;
No items in the Medical group table should ever be deleted. So, this...
January 14, 2016 at 9:41 am
Jeff Moden (1/14/2016)
Orlando Colamatteo (1/13/2016)
January 14, 2016 at 7:52 am
sqlquaker (1/13/2016)
http://sqlperformance.com/2012/07/t-sql-queries/split-strings
Also check out...
January 14, 2016 at 7:30 am
imba (1/13/2016)
I am in need of some assistance. I have a column that have values that look like this:
111#222#33333#44#555#66
The length of the values can change. I...
January 13, 2016 at 11:55 pm
sushantkatte (1/13/2016)
January 13, 2016 at 11:03 pm
Eric M Russell (1/13/2016)
If...
January 13, 2016 at 4:04 pm
abdullah.zarour (1/13/2016)
Hello This is a sample empty code body for your reference :CREATE TRIGGER DeleteMedicalGroup ON dbo.MedicalGroup
INSTEAD OF DELETE
AS
BEGIN
ROLLBACK;
END;
Don't do this, the rollback is neither needs...
January 13, 2016 at 3:56 pm
Quick example
😎
USE tempdb;
GO
SET NOCOUNT ON;
IF OBJECT_ID(N'dbo.TBL_TEST_DELETE_TRIGGER') IS NOT NULL DROP TABLE dbo.TBL_TEST_DELETE_TRIGGER;
CREATE TABLE dbo.TBL_TEST_DELETE_TRIGGER
(
TDT_ID INT IDENTITY(1,1) NOT NULL CONSTRAINT PK_DBO_TBL_TEST_DELETE_TRIGGER_TDT_ID PRIMARY...
January 13, 2016 at 3:35 pm
Hugo Kornelis (1/13/2016)
January 13, 2016 at 2:45 pm
Quick untested guess
😎
SELECT DISTINCT t1.ProjectUID,t1.BWF , t1.Deliverable ,
--Supressed data columns
STUFF(
(SELECT DISTINCT ', ' + (t2.[GeoMarket])
FROM #deploys t2
where t1.ProjectUID = t2.ProjectUID AND t1.BWF = t2.BWF AND t1.Deliverable = t2.Deliverable
FOR...
January 13, 2016 at 1:36 pm
Viewing 15 posts - 3,976 through 3,990 (of 8,761 total)