Viewing 15 posts - 1 through 15 (of 60 total)
Hi SSCoach, do you have an example of a holding table? Also do you have an example of retrieving data from the " inserted or deleted virtual tables"?
March 3, 2016 at 3:51 pm
Now if I want to grab information from this new row that has been entered, what is the best way before sending the email?
CREATE TRIGGER reminder2
ON Sales.Customer
AFTER INSERT, UPDATE, DELETE...
March 3, 2016 at 3:11 pm
What I need to do is send an email every time an entry is added to a specific table. Any ideas or suggestion on how best to this are...
March 3, 2016 at 2:10 pm
OK I have run this:
DECLARE @ResultSet INT
EXEC @Resultset =spMyStoredProc
SELECT @ResultSet
I get two results
First result:
EXEC @Resultset =spMyStoredProc returns
387961
387962
Second result:
SELECT @ResultSet returns
0
February 5, 2016 at 9:48 am
If I run EXEC spMyStoredProc I get two results:
387961
387962
February 5, 2016 at 9:09 am
@Results returns
387961
387962
February 5, 2016 at 8:42 am
The results of EXEC spMyStoredProc are:
387961
387962
Just two numbers
February 5, 2016 at 8:37 am
OK, but even when I try this it doesn't work
IF @Results > 10
PRINT 'Hello'
ELSE
PRINT 'OK thanks'
February 5, 2016 at 8:33 am
This part doesn't work
IF @Results IS NOT NULL
PRINT 'Hello'
ELSE
PRINT 'OK thanks'
February 5, 2016 at 8:19 am
I tried
SELECT DISTINCT PGNAME
FROM INSTALLS
WHERE PGNAME != (CAST (PGNAME as NVARCHAR(100)) collate SQL_Latin1_General_CP1_CI_AS)
This returned rows like:
???????? ????? ??? ????? ?????????? ?????? ???????
Thermo Fisher Scientific Inc.
But it...
January 21, 2016 at 2:19 pm
Yes I mean identifying any characters not belonging to the Latin General language.
Your query picks up some, but still misses others.
January 21, 2016 at 9:40 am
I want to find any non latin chartacters: cyriliic, chineese, Japanese, ect
January 21, 2016 at 8:46 am
OK SOLVED
I removed the "WITH MOVE"
November 27, 2015 at 8:38 am
Nothing is using the database - I just ran SP_WHO
Yes the files are right. Do I need to use this: ALTER DATABASE [YOUR_DATABASE] SET OFFLINE WITH ROLLBACK IMMEDIATE
November 27, 2015 at 8:12 am
Viewing 15 posts - 1 through 15 (of 60 total)