__Briefcase

SQLServerCentral Article

Using Parameters with Stored Procedures

  • Article

It seems that SQL Server developers avoid stored procedures whenever possible, especially if they are new to the product. Kathi Kellenberger brings us a basic article that you can give to developers that explains the basics of how you use parameters with ADO.NET, especially output parameters.

4.18 (28)

You rated this post out of 5. Change rating

2019-05-23 (first published: )

118,959 reads

Technical Article

RE: Check SQL Server Uptime

  • Reply

checking SPID 1 login time versus current time will give you SQL server uptime. I use the following T-SQL to calculate number of Days my SQL servers are up: SELECT CAST((CAST(datediff(ss, login_time, getdate()) as Decimal(9,2)) / 86400) as Numeric(6,2)) FROM master..sysprocesses WHERE spid = 1

2003-07-07

1 reads

Technical Article

RE: Reading a system variable with TSQL

  • Reply

quote: I just need to create a windows system environment variable sql_backup_drive="X:\" for each SQL server and use it to determine the location of backup folder for each server in a multiserver job. I planned to use "subst" command for it, but it works really bad, if MSSQLSERVER service uses a domain account. Of all […]

You rated this post out of 5. Change rating

2003-06-11

1 reads

Technical Article

Logging logins

  • Topic

I am new to this site and to working with mssql. My question is this: we are running sql server 7.0 on windows NT. We are having a problem with logins being recorded in the log and eventviewer every few seconds while users are connected. The database as far as I can tell is set […]

You rated this post out of 5. Change rating

2001-12-20

Blogs

Small Data SF 2024

By

I can’t remember how I heard about Small Data SF 2024, but it caught...

A New Word: Moledro

By

moledro – n. a feeling of resonant connection with an author or artist you’ll...

Snowflake + Azure blob

By

Let’s go back to data platforms today and I want to talk about a...

Read the latest Blogs

Forums

7 sept, scheduled book

By philip.scott

Comments posted to this topic are about the item 7 sept, scheduled book

7 sept, schedlued article

By philip.scott

Comments posted to this topic are about the item 7 sept, schedlued article

6 sept, published book

By philip.scott

Comments posted to this topic are about the item 6 sept, published book

Visit the forum

Question of the Day

Azure Data Lake Storage Gen 2

Azure Data Lake Storage Gen 2 is built on ...?

See possible answers