Viewing 15 posts - 406 through 420 (of 1,069 total)
Try this.
USE testing
GO
declare@MyEmailString varchar(MAX)
select@MyEmailString = coalesce(@MyEmailString + ';', '') + coalesce(useremail, '')
fromtesting.dbo.users
EXEC msdb.dbo.sp_send_dbmail @profile_name='test',
@recipients=@myEmailString,
@subject='Test message',
@body='testing testing'
Don't use GO after declaring a variable.
October 20, 2011 at 4:17 am
Yes, all the indexes (clustered and nonclustred) dropped automatically whenever a table is dropped.
October 20, 2011 at 1:37 am
Try this:
Right click -> Tasks -> Import.../Export...
See the attached screen shot for reference.
Exported file is in xml format.
October 20, 2011 at 12:03 am
1. No. RTM is not ready. Only CTP is available.
2. No. No need to install SP1 and SP2. You can directly install SP3
October 19, 2011 at 11:45 pm
1) sp_help <source/target table name>
2) Open Excel
3) Copy the source table structure and paste to Excel Sheet1
4) Copy the target table structure and paste to Excel Sheet2
5) Click...
October 19, 2011 at 11:41 pm
Thanks for informing that it worked.
🙂
September 30, 2011 at 4:03 am
Run DBCC UPDATEUSAGE. It may fix the issue.
September 30, 2011 at 3:19 am
By default BULK INSERT does not fire triggers. You have to use FIRE_TRIGGERS option.
Another work around is after Bulk Copy, you can easily insert the data to other tables...
September 26, 2011 at 11:23 pm
Other two important features:
1) TDE
2) MERGE statment
September 15, 2011 at 10:28 pm
SKYBVI (9/14/2011)
How come the last select CHAR(100)
give output as d ??
plz explain
Regards,
Sushant
Here, it is a function.
September 14, 2011 at 10:22 pm
I guess, you do not have enough permissions to view the database level triggers...
September 8, 2011 at 3:26 am
It is returning 0 rows?
It is a database level trigger. It is common for all the tables. Not just related to that table.
You can check using SSMS UI also. Under...
September 8, 2011 at 2:58 am
sqlgreg (9/7/2011)
September 7, 2011 at 10:15 pm
Select events Error Log, Event Log under Errors and Warnings and Audit Login Failed under Security Audit
September 7, 2011 at 9:55 pm
Raghavender (9/7/2011)
There is no triggers on that table.
Check for Database Triggers. DDL triggers are on database, not on table.
Please run this query:
select * from sys.triggers
September 7, 2011 at 5:24 am
Viewing 15 posts - 406 through 420 (of 1,069 total)