send email from sql server express [closed] - sql-server

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
i want to send an email as a user inserts some data into a table. is this possible in sql express? please help with the code.
i would use a trigger for insertion on the table.
for email what features shall i have on my PC. i have Windows XP.

As far as I know, SQL Express does not support the Database Mail feature, so this would not be possible out of the box. As per the note at the bottom of the Database Mail MSDN article for Sql Server 2008 R2:
Database Mail is not available in SQL
Server Express.
A more robust solution would be to embed the notification logic in the application tier (e.g C#) which talks to the database.

As far as I didn't find any deprecation against enabling SQL CLR onto SQL Server Express,
you can try to use SQL CLR Trigger with System.Net.Mail objects.

This is not possible with SQL Express. If you happen to update to the full management studio you would use msdb.dbo.sp_send_dbmail to send your email.

Related

What else can SQL Server Management Studio do? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
I am new to SQL Server Management Studio. In my company it is used just to sink data from source table to convert into predefined format, for that I use few queries in query table.
Please guide what else SQL Server Management Studio can help me?
SQL Server Management Studio includes the following general features:
Supports most administrative tasks for SQL Server.
A single, integrated environment for SQL Server Database Engine management and authoring.
Dialogs for managing objects in the SQL Server Database Engine, Analysis Services, and Reporting Services, that allows you to execute your actions immediately, send them to a Code Editor, or script them for later execution.
A common scheduling dialog that allows you to perform action of the management dialogs at a later time.
Exporting and importing SQL Server Management Studio server registration from one Management Studio environment to another.
Save or print XML Showplan or Deadlock files generated by SQL Server Profiler, review them later, or send them to administrators for analysis.
A new error and informational message box that presents much more information, allows you to send Microsoft a comment about the messages, allows you to copy messages to the clipboard, and allows you to easily e-mail the messages to your support team.
An integrated Web browser for quick browsing of MSDN or online help.
Integration of Help from online communities.

Microsoft Access 2003 .mdb to MSSQL and Access 2013 - User security & experience [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Microsoft Access 2013 contains ability to link program (desktop) with MSSQL backend.
Can you clarify some moments here:
Can i grant some users read/write rights to my data in SQL database (or i need to ask my IT-depart)?
Can users with Access 2007 use my new SQL database?
Can i use all of mine queries / forms from Access 2013 with my new SQL backend?
Thank you!
You can link you Sql server to access by going external database tab select ODBC database and select link database option.
Select Machine Data sources tab and click new
click next and select Sql server
and enter server details and select the tables to link
So now it can be able to create forms for data entry in ms access directly to the sql server with Sql lo-gin
it can manage the lo-gins and permissions to the tables for users through SMSS.

Azure SQL Server - consideration [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
There are a few options for Azure SQL Server
Vanilla Azure SQL Server (SaaS)
Azure SQL Server using VM image (IaaS)
Azure SQL Server Alwayson
I'm trying to understand what option replaces the best an on-premises SQL server accessed by multiple servers, that will become multiple "callers" in Azure.
Well that really depends on what your requirements are. An Azure VM with SQL would be the closet to replacing a physical SQL server and you can setup clusters and failover and all that. You really should read more into them at http://www.windowsazure.com/en-us/services/sql-database/

First time i am deploying the code in server database is not connecting to my application [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
iam using mvc3 application and sql server2008 in local it is working perfectly when i deploy in server data is not saving database
From what you have written it seems you are having trouble accessing the SQL Server from an application hosted on a seperate server ?
If this is the case theres a few things you can do:
1) Try pinging the SQl Server from your ApplicationServer to ensure
you have network connectivity
2) On your SQL Server ensure you have remote connections enabled
(Enable the TCP/IP service)
3) If you are using a SQL Login ensure your SQL Instance allows both
windows authentication and SQL Logins.
4)Finaly logon to the actual SQL Server instance on the same server
using SQL management studio with the same credentials you have in
your connection string.

Migrate data from DB2 to SQL Server - What's needed on DB2 side? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I need to move a lot of data from an OLD DB2 server to SQL Server. I'd like to create a linked server using the OLE DB Provider for DB2 on my SQL Server. What I don't know is what is required on the DB2 side. The DB2 server belongs to another organization and most of the people that worked with it have retired. The version is "DB2 for VSE 6.1". Can I connect to that from SQL Server by default? If not, is there optional software that can be installed that will provide connectivity? I believe I need DRDA application server support, but that is all I have been able to find so far. Because of the volume of data, I would prefer not to use intermediate text files if possible. Are there other options that will work with V6.1?
If you can use SSIS, which can be available or not, depending on your SQL Server Edition, I recommend you to use this tool for moving the data. It help you handle of the complexities of data type changes, conversions, validations...
As far as what you need to connect to DB2, have a look at this. It not only explains how to use SSIS to connect to DB2, but also explain where you can download a DB2 driver.
I can't assure this driver will work with you particular version of DB2.
Look also here.

Resources