SQL Server on Linux

Technical Article

RE: The ARRAY In SQL Server 2000

  • Reply

In reply to Remi, here is the full code. I still get an error.Declare @tbl table (RowId int identity(1,1), ItemName varchar(100)) Insert @tbl   Select ProductName    FROM Products     WHERE ProductName like 'M%'Select * from @tbl INNER JOIN Products p ON @tbl.ItemName = Products.ProductName

You rated this post out of 5. Change rating

2005-05-16

Technical Article

RE: SP execute

  • Reply

no but you can ask developer to exclusively grant execute permission to specified user whenever they create any new stored procedure via GRANT statement at the end.if there are many such users, build application role with execute permission to all SPs and ask developer to grant execute permission to that role.Hope this will help.

You rated this post out of 5. Change rating

2005-05-09

Technical Article

RE: Where to find out detail of when the Index is created and modified?

  • Reply

What exactly are you looking for? You can use the function that Jimmy Jen mentioned, STATS_DATE, to get the time when the statistics for the index was last updated. If by modified you mean when something was changed in the data that is indexed, then there is no automatic way of checking that. I do […]

You rated this post out of 5. Change rating

2005-05-02

Technical Article

Update Using A Subqury

  • Topic

Can anyone think of a way to update one column when a subquery returns two values? Here is my SQL...UPDATE tmp_ar_exception SET count_fact = ( SELECT DISTINCT COUNT(F_AR_Detail.date_id) AS Expr1 FROM         tmp_ar_exception LEFT OUTER JOIN                       F_AR_Detail ON tmp_ar_exception.dt_id = F_AR_Detail.date_id GROUP BY F_AR_Detail.date_id )

You rated this post out of 5. Change rating

2005-04-28

1 reads

Technical Article

File Transer using SQL

  • Topic

Hi Everyone!Can you please help me here, I want to transfer pdf files from one server to the other using Sql, but the server I try to transfer from it needs username and password.  Here is my script and i get the error "Logon failure: unknown user name or bad password."Script exec master..xp_cmdshell 'copy \\Server1\Development\ZA\*.pdf  […]

You rated this post out of 5. Change rating

2005-04-25

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