Baseline

Technical Article

RE: Copy SP

  • Reply

INSERT INTO tbl2 (fname) SELECT fname FROM tbl1 WHERE ref#='123'Btw, the # sign isn't really good to be used as a column name. I have seen several threads here, where this caused more or less severe problems.

You rated this post out of 5. Change rating

2004-12-16

Technical Article

RE: How To Return Results from EXEC of Dynamic SQL

  • Reply

hey jim, i think this should do the trick:CREATE PROCEDURE dbo.usp_dyna_cast(@ReturnValue sql_variant OUTPUT) AS BEGIN   SET NOCOUNT ON  DECLARE @DisplayValue AS VARCHAR(255), @ItemType AS VARCHAR(255)   SELECT @DisplayValue = Display_Value, @ItemType = Item_Type FROM MyTable ...  DECLARE @stmt AS NVARCHAR(750)   SET @stmt =  N'SELECT @ReturnValue = CAST(' + N'''' + CAST(@DisplayValue AS NVARCHAR(255)) […]

You rated this post out of 5. Change rating

2004-07-18

Technical Article

RE: facing a 50% line limit when loading text file

  • Reply

i've used to use the BCP program to import data and never had a problem, aslong as I didnt get the row and column terminators confused - which i do often, as im usually bulk loading in the middle of hte night and nursing it thru manually... but thats besides the point.since then, I have […]

You rated this post out of 5. Change rating

2004-07-16

Technical Article

image files

  • Topic

HELP!  I need to save an image file - SOMEHOW - to a column in the database.  I am using Visual Basic as the interface program, and I have no clue how to go about this.  I have been warned that it is bet NOT to save images to the database but is this true […]

You rated this post out of 5. Change rating

2004-07-07

15 reads

Blogs

Set a Runtime Variable in an Azure DevOps Pipeline

By

Note: I DO NOT recommend this. Any changes to a pipeline should be in...

A New Word: Symptomania

By

symptomania – n. the fantasy that there’s some elaborate diagnosis out there that neatly...

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

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