create database

Technical Article

adding two columns in sql server ?

  • Topic

hi i have a table called "finance" and these columns date                amt_recharge          amt_food          total 12/2/2005             50                         20                 70 how can i write a query in the sql server enterprise manager to add up both the columns "amt_recharge" and "amt_food" and the resultant output in the "total" ? And by the way where and how do […]

You rated this post out of 5. Change rating

2005-02-13

23 reads

Technical Article

RE: OLEDB Driver Fails to Return @@Identity

  • Reply

Anthony,There should not be any reason why you can't use the OLEDB provider -we use both and have not noticed this problem. Is the comma at the end of  the third line of the proc a mistype or is it really in your procedure? If so then this obviuosly should not be there and may explain […]

You rated this post out of 5. Change rating

2004-10-29

Technical Article

RE: running a dts package from access project

  • Reply

You can also use VBA and ADO to execute a stored procedure that calls the DTS package. Here's an example of a stored procedure that uses the system stored procedure xp_cmdshell and the dtsrun.exe command to execute the package: CREATE PROC ap_CallDTS AS SET NOCOUNT ON DECLARE @cmd varchar(255) DECLARE @error int --command string SET […]

You rated this post out of 5. Change rating

2003-12-15

1 reads

Technical Article

RE: Stored Procedure and parameters

  • Reply

You have two possibilities. The first one is using IF statements, each with their own query. This is OK if you only have a few parameters, but the number of combinations grows very quickly. Another possibility is to change the query to take left out parameters into account. In your example, the query would look […]

You rated this post out of 5. Change rating

2003-07-19

Blogs

Our Contributions Towards a Stronger Open Source Future

By

Whether you’re a developer at an agency or an aspiring creator, you can trust...

Rebuilding a SQL Server Database Transaction Log

By

“Could you help me, we deleted the database’s transaction log file and now that...

Copying Content from One Databricks Unity Catalog Catalog to Another

By

I had a couple of clients who were moving content from development catalogs to...

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