administration

Technical Article

Deleting through view, is it right?

  • Topic

Please try this: 1 - use Northwind 2 - Delete FK Constraints from orderdetails table reference products and orders tables 3 - Create view to have: 4 - orderdetails.OrderID, orderdetails.ProductID, orderdetails.ProductName 5 - Run this view 6 - Delete a record. Before delete write orderid and productid values on a paper 7 - Try to […]

You rated this post out of 5. Change rating

2001-09-04

Technical Article

OPENXML vs sp_OACreate

  • Topic

Does anyone have any inside knowledge on what goes on 'behind the scenes' with OPENXML used with sp_xml_preparedocument and sp_xml_removedocument? I know it uses MSXML2, and that it will use up to 1/8 of the total amount of memory allocated to SQL Server, all from BOL. What I'm really interested in if it is any […]

You rated this post out of 5. Change rating

2001-09-03

11 reads

Technical Article

Error on backup...

  • Topic

Hi all, I backed-up (full) a database in one sql server and copied the backed-up file to another sql server machine. I created a new database and when I tried to restore from the backed-up file, I got the following error "The backup set holds a backup of a database other than the existing 'databasename' […]

You rated this post out of 5. Change rating

2001-09-03

2 reads

Technical Article

SQLSERVERAGENT Service Problem [:(]

  • Topic

I use MSSQL Server. I let SQL Server Agent to "Autostart when OS starts". The problem is that when I have to restart the server , the agent doesn't start and I get the famous message "At least on of your services ..." Subsequently, Once I check NT's event log , I see the error […]

You rated this post out of 5. Change rating

2001-09-02

Technical Article

Can we use any ActiveX Object in SQL Server

  • Topic

Can we use any kind of activex object in SQL server stored procs. I have used CDONTS component to send mails from SQL Server. I know there is xp_sendmail in sql server to send mails. But what if I create my own activex control. Can I use it. And how? Paras Shah Evision Technologies Mumbai, […]

You rated this post out of 5. Change rating

2001-09-02

13 reads

Technical Article

Passing a value out of a Stored Procedure

  • Topic

I've created this procedure to count the number of times a particular condition was met in a log file. CREATE PROCEDURE SP_SMTPSTATS AS DECLARE @TEST AS INT SELECT @TEST = COUNT (*) FROM smtpstats Where clienthost = "10.0.0.64" AND Operation = "Data" AND bytesrecvd > 200 AND bytesrecvd < 2000 ??????????????NOW WHAT???????????????????????????? GO Now I […]

You rated this post out of 5. Change rating

2001-08-30

2 reads

Technical Article

insert/update image datatype column

  • Topic

Hi, someone can show me how can I insert/update a row containing an image datatype column ? Table: Product (ProdId int, Description varchar(50), ProdImage image) The image files (Prod1.jpg, Prod2.jpg,...) are located in a directory \Image. If possible, I'd like to use stored procedures for this purpose.

You rated this post out of 5. Change rating

2001-08-30

3 reads

Blogs

SQL Saturday Boston 2024 Slides

By

Thanks to everyone that came to my talks. Slides are below. Best Practices for...

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...

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