Viewing 15 posts - 8,851 through 8,865 (of 13,461 total)
SQL ORACLE (8/28/2010)
When we would like to send an alert to more than one users, only the first one received the alert.
if only one of the emails got thru, it...
August 28, 2010 at 7:36 pm
the parameter @recipients for msdb.dbo.sp_send_dbmail expects a semicolon delimited list of recipients; there's no limit to the # of recipients, since it is a varchar(max) definition;
so something like...
August 28, 2010 at 3:30 pm
I think this is data input validation that needs to occur on the asp page, and not at the server or even SQL server; a simple javascript alert is all...
August 28, 2010 at 6:20 am
maybe there is a database trigger that is causuing the issue, and not one on the table itself?
--db level triggers
select * from sys.triggers where parent_class_desc = 'DATABASE'
August 27, 2010 at 10:41 am
if it's not in the default trace, which onyl keeps track of "whodunnit" information on DDL stuff for a limited time, and you do not have any other traces in...
August 27, 2010 at 10:13 am
I agree the issue is going to be the trigger....show us your audit trigger code; if both fields are money or decimal types, the error raised cannot be from the...
August 27, 2010 at 9:50 am
parameter sniffing.
an execution plan is created when the procedure is created, and the SQL engine makes an assumption that since the default values are NULL, the best execution plan should...
August 26, 2010 at 1:37 pm
ok, I just realized that the shortcut command you needed was for {slash L}, not {slash R]
ROWTERMINATOR =
vbCrLf = CHAR(13) + CHAR(10) = \n
vbCr = CHAR(13) = \r
vbLf =...
August 26, 2010 at 11:32 am
why not just call the file directly? why do you have to do the cd command, when you know where the file is anyway?
create table #Results (
ID int identity(1,1) NOT...
August 26, 2010 at 10:46 am
Tara-1044200 (8/26/2010)
August 26, 2010 at 10:36 am
i have this CREATE TABLe in my snippets, so i would assume drop table works the same way:
EXEC sp_addlinkedserver 'SeattleSales', 'SQL Server'
GO
EXECUTE ( 'CREATE TABLE AdventureWorks2008R2.dbo.SalesTbl
(SalesID int, SalesName varchar(10))...
August 26, 2010 at 10:21 am
this is completely untested, as you didn't provide the schema or sample data.
note i'm assuming there is a column "remarksID" so the list of remarks can be ordered....only YOU know...
August 26, 2010 at 9:37 am
skcadavre (8/26/2010)
Damnit Lowell! 😛
we cross post each others same answers just a bit too often 🙂
August 26, 2010 at 8:02 am
i don't think the CREATE USER command allows variables; you'd have to switch to dynamic SQL instead:
declare @groupname varchar(50),
@sql varchar(1000)
SELECT @groupname =...
August 26, 2010 at 7:58 am
scottichrosaviakosmos (8/26/2010)
Now, i want to know on which u_column its which columns are...
August 26, 2010 at 7:12 am
Viewing 15 posts - 8,851 through 8,865 (of 13,461 total)