events

Technical Article

RE: HELP !!! sp_send_cdontsmail dont work for me...

  • Reply

Make sure that you have updated the Stored Proc with your own SMTP server name and that you can access that server accross your network by pinging it by name as well as by IP address. CDONTS/CDOSYS does not report an error if the server is not found - the messaage just vanishes into the […]

You rated this post out of 5. Change rating

2003-07-14

Technical Article

RE: Output from dynamic sql

  • Reply

You might try bol (bools online) for the topics "sp_executesql" and "Using sp_executesql". The object (e.g., table) names need to be fully qualified in order for SQL Server to reuse a cached execution plan. Also, the execution of the query is very much like (maybe it's the same except for permissions) as calling a nested […]

You rated this post out of 5. Change rating

2003-07-11

1 reads

Technical Article

RE: Output from dynamic sql

  • Reply

Try this declare @sqlstring nvarchar(1000), @table_name varchar(25), @cntout as int set @table_name = 'tableA' set @sqlstring = 'select @cntout = count(*) from ' + @table_name exec sp_executesql @sqlstring, N'@cntout as int OUTPUT', @cntout = @cntout OUTPUT PRINT @cntout

You rated this post out of 5. Change rating

2003-07-10

1 reads

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