About 154,000 results
Open links in new tab
  1. How to send email from SQL Server? - Stack Overflow

    Nov 9, 2012 · 1) you can create Job from SQL server agent, then right click on operators and check mails (fill the your email for example) and press OK after that right click Jobs and choose new job and fill the required info as well as the from steps, name, ...etc and from notification tab select the profile you made.

  2. Create Local SQL Server database - Stack Overflow

    Apr 11, 2017 · After installation you need to connect to Server Name : localhost to start using the local instance of SQL Server. Once you are connected to the local instance, right click on Databases and create a new database.

  3. How to implement LIMIT with SQL Server? - Stack Overflow

    This is almost a duplicate of a question I asked in October: Emulate MySQL LIMIT clause in Microsoft SQL Server 2000. If you're using Microsoft SQL Server 2000, there is no good solution. Most people have to resort to capturing the result of the query in a temporary table with a IDENTITY primary key.

  4. How to run sql script using SQL Server Management Studio?

    Apr 22, 2012 · This website has a concise tutorial on how to use SQL Server Management Studio. As you will see you can open a "Query Window", paste your script and run it. It does not allow you to execute scripts by using the file path. However, you can do this easily by using the command line (cmd.exe): sqlcmd -S .\SQLExpress -i SqlScript.sql

  5. SQL Server Linked Server Example Query - Stack Overflow

    Nov 3, 2010 · It's my understanding this is a "pass-through query" that passes SQL to the other server; and while useful for accessing other vendors' databases, it's best to use a "native" query between MS-Sql-Server instances when both are MS-SQL-Server (and maybe compatible versions). For one, quote escaping complications are avoided.

  6. python - How do I connect to SQL Server via sqlalchemy using …

    I found all the other answers to be educational, and I found the SqlAlchemy Docs on connection strings helpful too, but I kept failing to connect to MS SQL Server Express 19 where I was using no username or password and trusted_connection='yes' (just doing development at this point).

  7. How to get the connection String from a database

    May 7, 2012 · If you have installed and setup MS SQL Server and Management Studio, go to Visual Studio (Visual Studio not SQL Server Management Studio). 1] In Visual Studio go to Tools -> Connect to Database. 2] Under Server Name Select your Database Server Name (Let the list Populate if its taking time).

  8. What is the equivalent of 'describe table' in SQL Server?

    Nov 26, 2008 · The SQL Server equivalent to Oracle's describe command is the stored proc sp_help. The describe command gives you the information about the column names, types, length, etc. In SQL Server, let's say you want to describe a table 'mytable' in schema 'myschema' in the database 'mydb', you can do following: USE mydb; exec sp_help 'myschema.mytable';

  9. sql server - how to know status of currently running jobs - Stack …

    Aug 26, 2013 · I found a better answer by Kenneth Fisher.The following query returns only currently running jobs: SELECT ja.job_id, j.name AS job_name, ja.start_execution_date, ISNULL(last_executed_step_id,0)+1 AS current_executed_step_id, Js.step_name FROM msdb.dbo.sysjobactivity ja LEFT JOIN msdb.dbo.sysjobhistory jh ON ja.job_history_id = …

  10. How to connect to a local database in SQL Server Management …

    Apr 6, 2017 · It is a special edition of SQL Server that does not allow remote connection and supports windows integrated authentication only. It is a simple one click MSI install so it is easy to deploy. To download and install SQL Server 2016 Express, go to SQL Server downloads.

Refresh