Advertisement

1 - 10 of 139 containing alltags:("Transact SQL") (0.001 seconds)
Hello experts, I want all the fields in a table and so I write : Declare cursor_A cursor for select * from table_A open cursor_A Fetch cursor_A Now instead of showing the result on ...
Zones: MS SQL ServerDate Answered: 04/19/2000 Grade: A Views: 0
Hey! I want to wrap this three steps in one transaction: 1. Insert values 2. Get the id of inserted row (last id) 3. Insert values In code-behind getting the last id:   SELECT IDENT_CURREN...
Zones: MS SQL ServerDate Answered: 02/08/2006 Grade: B Views: 0
Hi experts I have two tables. One has a list of email addresses (tblEmailDistinct, 3000 records) and the other (tblPersonDetails 3800) has name, address and email address details. tblPersonDetai...
Zones: MS Access, SQL SyntaxDate Answered: 12/17/2007 Grade: A Views: 0
Hello, I'm fairly new to Transact SQL using Microsoft SQL Server 2005.  I have a select statement for a search in the users table.  I'm setting the default values to '' so that if the user doesn't ...
Zones: SQL Syntax, MS SQL Server, SQL...Date Answered: 12/22/2007 Grade: A Views: 0
Why would the first code snippet return 20 records (the correct number of records) but when I run the second code snippet on the same tables (the data in these tables is not changing from one run t...
Zones: MS SQL ServerDate Answered: 08/27/2008 Grade: A Views: 0
this is a part of a time recording system. I have a table which holds the allocated time for each day since 1.1.2007 (T440_SollZeit) the following query returns a Value (%) of the allocated time ...
Zones: MS SQL ServerDate Answered: 01/17/2008 Grade: B Views: 0
MSSQL 2005: A table holds some datafields declared as float. When I display the data in the Enterprise Manager, the field value is e.g. 4.2. When I start a query in the query analizer e.g. 'SEL...
Zones: SQL Server 2005Date Answered: 01/17/2008 Grade: A Views: 0
Hi experts I need to disable 3000 accounts. I have been sent a spreadsheet of users including a unique reference field for each. I would like to paste these unique numbers into a sproc, use them...
Zones: MS SQL Server, Databases, ProgrammingDate Answered: 01/22/2008 Grade: A Views: 0
I have a Transact-SQL stored procedure, I have written, which returns results that include a datetime field.  I am trying to use the DATEPART() function to parse out the field, so that the date tha...
Zones: MS SQL Server, DatabasesDate Answered: 01/24/2008 Grade: A Views: 214
Is there a more effective way to write this trigger in SQL Serer 2000.  Very simply I want to effect the value of one (or more) of the columns that are on the same table.  The problem I am having w...
Zones: MS SQL Server, Microsoft ProgrammingDate Answered: 01/29/2008 Grade: A Views: 0