PowerShell

Technical Article

RE: Thank you, Status Dormant ?

  • Reply

From the MS Website: Status Meaning Background: SPID is performing a background task. Sleeping: SPID is not currently executing. This usually indicates that the SPID is awaiting a command from the application. Runnable: SPID is currently executing. Dormant: Same as Sleeping, except Dormant also indicates that the SPID has been reset after completing an RPC […]

You rated this post out of 5. Change rating

2003-06-02

1 reads

Technical Article

RE: Import from Excel Problem

  • Reply

Importation from Excel yields also another kind of problem. Since the data sampling is beeing done with the first 8 rows of data sometimes unwanted results can arise. For example if there is only one column in the excel sheet containing AlphaNumerics in the first rows and some rows with a number in it, the […]

You rated this post out of 5. Change rating

2003-05-28

2 reads

Technical Article

RE: Query to get all logins and access info

  • Reply

Hi JMeyers32, sp_helpprotect should do what you need This is taken from BOL: A. List the permissions for a table This example lists the permissions for the titles table. EXEC sp_helprotect 'titles' B. List the permissions for a user This example lists all permissions that user Judy has in the current database. EXEC sp_helprotect NULL, […]

You rated this post out of 5. Change rating

2003-05-28

Technical Article

RE: help need

  • Reply

If I understand, you are getting the criteria from a list box from a screen. My suggestion is: create procedure [dbo].[query] @ProgramType char(1), @AccountName char(1), @ProgramStatus char(1) as select ProgramId ProgramType AccountName ProgramName ProgramBudget ProgramStatus from <table> where ProgramType like @ProgramType and AccountName like @AccountName and ProgramStatus like @ProgramStatus If in your list box you […]

You rated this post out of 5. Change rating

2003-05-20

Technical Article

RE: cast varchar as datetime

  • Reply

CREATE FUNCTION MyStrip(@v varchar(50)) RETURNS DateTime AS BEGIN Declare @vv Varchar(50) Set @vv=Right(@v,DataLength(@v)-CharIndex(' ',@v)) RETURN Cast(Left(@vv,DataLength(@vv)-CharIndex(' ',Reverse(@vv))) as DateTime) END Select dbo.MyStrip('Fri, 06 Dec 2002 14:52:26 -0500') Select dbo.MyStrip('Fri, 6 Dec 2002 15:08:59 EST')

You rated this post out of 5. Change rating

2003-05-17

1 reads

Technical Article

RE: Other databases

  • Reply

quote: MySQL has its fans though personally I suspect the MySQL vs other open source databases is the VHS vs Betamax thing again. ...and then there were Picture Discs, and now we have DVD Cheers, Frank

You rated this post out of 5. Change rating

2003-05-15

Blogs

Query Store Keeps Switching Itself Off, Getting it Moving Again

By

I recently received a complaint that Query Store for a particular database was turned...

EightKB 2024 – Schedule and Registration

By

Hello Hello, We. Are. Back! The schedule for EightKB 2024 Edition has been announced!...

Inside SQL Server Backup and Restore History Pruning with sp_delete_backuphistory

By

I had a customer that was looking to document a restore that had occurred...

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