all groups > sql server (alternate) > may 2004 > threads for may 22 - 28, 2004
Filter by week: 1 2 3 4 5
SqlServer changes cursor to "read only"
Posted by newtophp2000 NO[at]SPAM yahoo.com at 5/28/2004 9:10:03 PM
I am trying to write a cursor to update certain rows in a particular
order as follows: (I need the cursor version, not SQL, as the update
logic depends on the order of rows and some other conditions. I
removed the Order-By clause from the statement to simplify it; it
gives the same error messag... more >>
Scripting "INSERT"s in an SQL database?
Posted by Robin Tucker at 5/28/2004 6:32:50 PM
Hi there,
Getting ready for deployment and I would like to be able to run an install
script that will not just generate the schema, but fill in some of the
tables with default data. Is there a tool out there that will scan user
tables in an SQL database and generate the script required in ord... more >>
Yet another BCP issue
Posted by bkc98 NO[at]SPAM excite.com at 5/28/2004 12:03:15 PM
Hello all,
Background:
I've posted a couple questions recently regarding using BCP to extract
many tables to text files. I've written an extract application that
bcp's about 100 tables from a database to text files. I've run into a
couple limitations using BCP, but I finally landed on (what I... more >>
multiple result sets
Posted by Darko Jovisic at 5/28/2004 11:53:13 AM
Hi!
Another silly question:
If a stored procedure returns multiple result sets, how do I choose the one
I want to insert into a table?
For example sp_spaceused returns two result sets if object name is ommited.
I only need the first result set. How do I do that?
Tnx!
Darko
... more >>
CASE with empty parameter
Posted by Not Me at 5/28/2004 11:30:51 AM
Hi, I can't seem to get this where clause to function as I wish.. must be
something simple but I can't see it!
have tried
ac.coursename like CASE @course WHEN null THEN '%' ELSE '%' + @course + '%'
ac.coursename like CASE @course WHEN '' THEN '%' ELSE '%' + @course + '%'
ac.coursename like CA... more >>
Norton Anti-Virus Affecting SQL Across Network
Posted by mhawkins19 NO[at]SPAM adelphia.net at 5/28/2004 9:29:08 AM
Norton Anti-Virus Affecting SQL Across Network--
I help maintain a small software package developed using Microsoft
Visual Basic that utilizes Microsoft SQL Server.
I'm having major speed issues when it comes to making queries across
the network. I have tracked the problem down to Norton Ant... more >>
Scheduled jobs overlapping
Posted by Aleksandar Andjelkovic at 5/28/2004 8:46:18 AM
Greetings,
I have Full database backup job scheduled at 02:00 every day,
Differential backup every 2 hours from 00:00:00 to 23:59:59 and Log
backup every 15 min from 00:00:00 to 23:59:59. Is there a way to control
order of execution, for example: Full backup starts before Differential
backup a... more >>
Help setting up SQL2000
Posted by lankids NO[at]SPAM brandalls.net at 5/28/2004 6:38:08 AM
I am assigned to setup a small (less than 15 PC) network, accessing a
database server(SQL2000). I am wondering if I can use XP Home (which
we already have)for the clients and setting them all (including the
server -WS2003-) as workgroup? Or do I need a domain to setup the
connection to the datab... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Select lookup code values problem
Posted by Steve at 5/28/2004 5:00:58 AM
I have a table called Orders with three fields, OrderID, Action,Status.
Action and Status are code values with FK lookup to dbo.Action and
dbo.Status respectively.
Is it possible for me to return not just the code values but the filed
names?
For example:
SELECT OrderID,Action,Status FROM Ord... more >>
PRINT command Not Working For Database Client
Posted by ehchn1 NO[at]SPAM hotmail.com at 5/27/2004 11:05:55 PM
Hello,
The PRINT command works fine on Query Analyzer.
However, when I used it with other Database Client,
eg: Aqua Data Studio, nothing got printed out.
Is there a way to make it work?
Thanks in advance.... more >>
Why is my Data Import going so slowly?
Posted by Warren Wright at 5/27/2004 7:16:20 PM
Hi group,
I have a 175MM record table, with a record length of 200 bytes (about 20
columns).
Sometimes when I run a very simple DTS to import our monthly text file
of new records (about 10 million records) it really flies (takes less
than an hour or 45 minutes).
However, sometimes it tak... more >>
How to transform fact table only by SQL?
Posted by mrazek NO[at]SPAM compik.fd.cvut.cz at 5/27/2004 7:15:26 PM
Hi,
this is easy with OLAP tools, but I need to do it just with MS-SQL
server:
fatTable
year type val
97 a 1
97 b 2
97 c 3
98 a 4
98 b 5
98 c 6
....
year type_a type_b type_c
97 1 2 3
98 4 5 6
99 ...
The problem is number of different types - not just 3 like a,b,c but
more tha... more >>
Query Assistance for Newbie
Posted by Ray Bannon at 5/27/2004 5:50:00 PM
I need to modify a query through which I've done mostly using the Query
builder in Enterprise Manager so it can be run periodically without manual
editing. The query builder creates the following text:
select [ATHSTATDATA].[NSTATEVENTID] as "Page or
Search",[ATHSTATDATA].[NDATA] as "Hits if Se... more >>
DBCC and Failed Assertion Errors - HELP!
Posted by mleppink NO[at]SPAM hotmail.com at 5/27/2004 3:55:12 PM
Hey all -
We are running SQL 2000 with ALL available service packs, etc.
applied. We just built a brand new database server, which has dual
2Ghz XEONs, 2GB memory, and the following disk configuration:
RAID 1 array (2 disks) Operating System Windows Server 2003
RAID 1 array (2 disks)... more >>
Who is in a database ?
Posted by Jim Andersen at 5/27/2004 2:32:54 PM
Hi,
Used the wizard to create a maintenance plan for a db. But it fails most of
the time. I checked the log-files.
At 1.00 AM, it runs the "Optimizations" job for 6-9 seconds. It succeeds
always.
At 1.05 AM, for 1 second, it runs "integrity check", but most of the time it
fails, and says... more >>
Full-Text Search Query Question - Performance
Posted by jimdandy NO[at]SPAM shaw.ca at 5/27/2004 11:24:33 AM
I have a table with 3M rows that contains a varchar(2000) field with
various keywords. Here is the table structure:
PKColumn
ImageID
FullTextColumn
There is an association table:
ImageID
ContractID
Now, I want to do a query where the ContractID = x and Contains some
word in the Fu... more >>
SQL for Modeling Generalization Hierarchies
Posted by robertbrown1971 NO[at]SPAM yahoo.com at 5/27/2004 9:56:05 AM
Is there a good approach to modelling many heterogeneous entity types
with that have some attributes in common?
Say I have entities "employees" which share some attibutes (e.g.
firstname, lastname, dateofbirth) but some subsets of employees (e.g.
physicians, janitors, nurses, ambulance drivers... more >>
Breaking out data from a text field type
Posted by mrea NO[at]SPAM ohiotravelbag.com at 5/27/2004 9:09:23 AM
In my database there is a text field type that is used to enter street
address. This address could be a few lines long, each line with a
carriage return at the end.
Is there a way to search for these carriage returns and break out what
is in each line seperately?
Thanks.
Mike... more >>
Functions with global variables
Posted by newtophp2000 NO[at]SPAM yahoo.com at 5/27/2004 8:12:50 AM
Hello,
I am porting a stored procedure from Oracle. It uses a variable that
remembers its previous values from each invocation. (It uses a PRAGMA
REFERENCES clause for those who are familiar with Oracle.) In other
words, the variable in a particular stored procedure acts as a global
variab... more >>
update tables from a csv file?
Posted by sunshinevaldes NO[at]SPAM yahoo.com at 5/27/2004 7:47:43 AM
Hello and thank you for your time. I have never worked with sql
server and currently have a project updating the database.
I have a CSV file as follows:
id
keywords (this field contains commas within)
date
I have a sql server table as follows with only the id populated.
id
keywords
dat... more >>
connection problem to sql 2000 on windows 2003 from Windows 95
Posted by mmagi NO[at]SPAM itconsult.it at 5/27/2004 7:20:37 AM
Hi all,
I have a Windows 2003 server, which is also a terminal server for
application, with sql 2000 installed. My company has developed an
application that uses SQL 2000 as its database. The application is a
client/server one. In each client computer there's a link to the
application on the se... more >>
Whats wrong with this nested while loop?
Posted by jim.ferris NO[at]SPAM motorola.com at 5/27/2004 6:43:30 AM
Im getting way too many rows retured..what its trying to do is insert
a 0 for revenue for months 7 - 12 (aka July through December) for each
of these cost centers for each payor type..Im getting a lot of repeats
and the concatenation field date always comes back as January 2003
instead of the mo... more >>
password protecting data
Posted by radhakrishnan_c NO[at]SPAM infosys.com at 5/27/2004 5:36:21 AM
Hi,
I need to provide a facility to do routine database administration
(backups, etc.) without allowing the logged in user to modify the
data in any of the SQL server tables. Is there any way to accomplish
this (such as maybe password protecting the tables or otherwise)? I am
fairly new to S... more >>
Problem in Right Outer join query
Posted by omavlana NO[at]SPAM rediffmail.com at 5/26/2004 10:27:00 PM
Hi,
I need your help to resolve this problem. I have written a right outer
join query between 2 indipendent tables as follows.
select b.Account_desc, b.Account, a.CSPL_CSPL from Actual_data_final a
right outer join Actual_account_Tbl b on a.account_desc =
b.account_desc where (a.source_type... more >>
BCP utility replaces German with junk characters
Posted by mcmanoj_2000 NO[at]SPAM yahoo.com at 5/26/2004 9:42:20 PM
Hi All,
I am using command line bcp utility of SQL Server to import data from a text
file to database.
I have some german words in the text file and after
import the German characters are lost.
see eg below.
Input : Kühner, Klaus -> Text file value
OutPut: KĀhner, Klaus -> Table data, ... more >>
Right outer join problem
Posted by omavlana NO[at]SPAM rediffmail.com at 5/26/2004 9:01:01 PM
Hi,
I need your help to resolve this problem. I have written a right outer
join query between 2 indipendent tables as follows.
select b.Account_desc, b.Account, a.CSPL_CSPL from Actual_data_final a
right outer join Actual_account_Tbl b on a.account_desc =
b.account_desc where (a.source_typ... more >>
Advanced SQL Query Problem ...
Posted by fschen NO[at]SPAM biztrak.biz at 5/26/2004 9:00:56 PM
Dear Expert,
I have 2 tables as the following,
Table : Product
Column : ID, Code, Name
Table : Trx
Column : Trx_ID, Trx_Date, Product_ID
How can perform the following query in MSSQL or is there any other way
to perform the same query ??? For you info I can do this in Sybase and
it... more >>
last row
Posted by Darko Jovisic at 5/26/2004 7:35:26 PM
Hi!
Another problem:
How can I fetch only the last row in my table?
Thanks,
Darko
... more >>
stored procedure result set
Posted by Darko Jovisic at 5/26/2004 2:47:31 PM
Hi!
How can I save a result set from a stored procedure into a table?
Can you show me some examples?
Thank you!
Darko
... more >>
Triggers
Posted by Jason at 5/26/2004 2:23:39 PM
Hi,
I have two tables TblEmployee and TblEmployeeUpdates.
If I create a trigger to copy deleted records from TblEmployee into
TblEmployeeUpdates I would use:
CREATE TRIGGER Employee_Updates ON TblEmployee
AFTER DELETE
AS
INSERT INTO TblEmployeeUpdates SELECT * FROM DELETE
This works ... more >>
Problem with a temp table
Posted by jim.ferris NO[at]SPAM motorola.com at 5/26/2004 2:23:07 PM
For some reason the compiler is telling me that I must declarethe
variable @costcenter_tmp on lines 74 and 98...but if i put a select
statement in ther (for testing) before the loop I get data back from
the temp table..
why is this happening to this temp table and no others?..heres my
code..i... more >>
Timeout / Obtaining a connection from the pool - Please Help!
Posted by theintrepidfox NO[at]SPAM hotmail.com at 5/26/2004 1:45:43 PM
Dear Group
Sorry for posting this here. I'm desperate for a solution to this
problem and thought some of you might have come across it with .NET
and SQL Server.
Let's assume I've the following code:
Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handl... more >>
how to drop all keys & indexes
Posted by Woody Rao at 5/26/2004 1:44:15 PM
I'm trying to drop all indexes and primary keys so that i can rebuild them
(from a script created from same database on another server).
when i go to the 'generate sql scripts', it has the ability to drop or
generate all
tables. it also has the ability to generate all keys only. but i cant f... more >>
select into withidentity
Posted by newtophp2000 NO[at]SPAM yahoo.com at 5/26/2004 1:41:48 PM
I am trying to copy data from one table to another, and in the process
add a sequence number to copied rows. I have looked at the IDENTITY
function when creating tables, and essentially this is the behavior I
am trying to duplicate.
However, my question is if I can do this with the SELECT INT... more >>
Disabling primary key
Posted by Ghulam Farid at 5/26/2004 1:36:24 PM
Hi
i have a table with primary key defined on col1 and col2. now i want to
have col3 also included in primary key. when i alter the table it gives
me error for duplicate rows. there is an option for 'with nocheck' but
it only works with check or foreign key constraint. is there any option
i... more >>
question about retrieval of client process IDs
Posted by korovyev NO[at]SPAM rambler.ru at 5/26/2004 12:47:37 PM
Is there any short way to make the server give out IDs of all client
processes connected to a specified DB? I guess this information must
be stored somewhere in system databases...... more >>
Update Top 30%
Posted by gelangov NO[at]SPAM hotmail.com at 5/26/2004 12:31:02 PM
I want to update top 30% of a table. Is there a way without creating
a separate table?
create table temp_tableA (jobno varchar (20), formno varchar (20),
otherinfo varchar(20))
truncate table temp_tableA
insert into temp_tableA values ('1', '1', 'aaa')
insert into temp_tableA values ('1', '... more >>
long query alert
Posted by Darko Jovisic at 5/26/2004 10:48:24 AM
Hi!
How to create an alert that responses in case of long querya. I haven't
noticed any counters that deals with these kind of situations?
Thx for your help!
... more >>
last day of previous month
Posted by Killer at 5/26/2004 10:24:50 AM
How can i calculate the last day of the previous month?
Help me,please
... more >>
Update all tables in database
Posted by muzamil NO[at]SPAM hotmail.com at 5/26/2004 8:10:22 AM
Hi
My database contains , lets say, 100 tables. Out of these 100 tables,
60 tables contain both columns; Column1 and Column2.
I want to:
Update (All tables with BOTH of these columns)
Set Column1 = Column2
Is there a better way of doing it? OR do I have to do it manually for
each ta... more >>
Re: computational maple algorithm to TSQL
Posted by John Gilson at 5/26/2004 6:17:49 AM
A couple of months back a question was posted regarding ordered
factorizations of numbers (see http://tinyurl.com/2n6s8), a combinatorial
problem. Here's a relational solution that uses a branch-and-bound
style approach.
For a natural number N, let's call its ordered factorizations F where
"... more >>
Embedded select query?
Posted by DarkChiild at 5/25/2004 7:42:04 PM
What I'd like to do is use the result of one query as the input for
another. eg:
INSERT INTO foo VALUES (
(SELECT id FROM people WHERE name = "bar"),
10,
'foobar'
) WHERE
id = 1;
Problem is, MSSQL wants a scalar value. Is there a way around this?
Can someone tell... more >>
changing one column in each row
Posted by me NO[at]SPAM zellos.net at 5/25/2004 7:25:36 PM
ie if i have
x 1 2 3 4 5
------------
1| a b c d e
2| f g h i j
3| k l m n o
4| p q r s t
5| u v w x y
and i want to change it to
x 1 2 3 4 5
------------
1| a b c d e
2| a b c d e
3| a b c d e
4| a b c d e
5| a b c d e
any ideas on how to do that?... more >>
Access linked to SQL Server - 2 day offset error
Posted by archean1 NO[at]SPAM yahoo.com at 5/25/2004 6:02:25 PM
We recently translated the backend db from Access(97) to SQL Server.
We are still using Access frontends. I have an update query in the
Access front end that uses a lookup table to populate fields. The
common fields between the table and the lookup table are the primary
key (LocID) and date &... more >>
SQL pieces-parts
Posted by Jim85CJ at 5/25/2004 6:00:19 PM
I'm very familiar with Oracle at a conceptual level and need to
understand MSSQL as well. Can anyone point me to a document/web page
that describes the different files used in MSSQL and a discussion of how
they relate? (ex. with Oracle, there is tempdb, redo, archive, db files,
rollback, et... more >>
Date/Time select Problem
Posted by Jan Schmidt at 5/25/2004 4:13:32 PM
Hi NG,
i've got a mystic problem i can't solve, perhaps one of you has a good idea...
i will explain with some code, so fo better understanding my probroblem:
i'll use asp, but for testing the syntax i use the MS Query Aanalyzer.
following Stored Procedure is ok and does it's job fine with "... more >>
are nulls bad
Posted by aaj at 5/25/2004 3:08:27 PM
Hi
I am probably going to regret asking this because I'm sure you are going to
tell me my design is bad 8-) ah well we all have to learn....
anyway
I often use Nulls as a marker to see if certain tasks have been completed.
A typical example would be a column say invoice_value
when n... more >>
FOR SELECT
Posted by we.aver NO[at]SPAM verizon.net at 5/25/2004 2:47:17 PM
In another database that I've used, I found the FOR SELECT syntax
handy. It allows a stored procedure to perform actions for each
record returned by the select statement. I can't find the
documentation on this in SQL Server. Am I missing something here?
I've just started with this product, s... more >>
SQL Server makes our server reboot!
Posted by google2 NO[at]SPAM candg2.com at 5/25/2004 12:24:20 PM
hi,
we are having this weird problem that can be reproduced easily on 2
out of 2 servers where we've tried:
- we run a SQL Server 2000 stored procedure that processes 2.5 million
rows (big procedure with many cursors)
- when it hits an area of procedure (not always the exact same place,
but ... more >>
Query: How can I get this result?
Posted by Yannick Turgeon at 5/25/2004 11:55:52 AM
Hello all,
I tryed to simplify the problem as much as possible. I'll start with the
DDL:
----------------------------------
CREATE TABLE #MyTable(
NoID INT,
Type CHAR,
DateTransaction DATETIME
)
INSERT INTO #MyTable (NoID, Type, DateTransaction)
SELECT 1 AS NoID,... more >>
Insert into two tables, both with auto increment fields
Posted by Rizyak at 5/25/2004 11:38:13 AM
Just when I though I knew what I was doing. I ran into a roadblock.
I have two tables, organizations & users
I am building a form online for orgs to input their own information.
How do I insert into both tables when the org table needs to know what the
user_id is, but the user_id hasn't been... more >>
Sudden xp_send mail error
Posted by jennifer1970 NO[at]SPAM hotmail.com at 5/25/2004 11:33:36 AM
I've got a job that sends out the results of a stored procedure in an
email via xp_sendmail. The job code is as follows:
DECLARE @rlist varchar(1000)
Declare @Q varchar(100)
Select @Q = 'EXEC impact_exec..TLD_Reconciliation'
Declare @Sub nvarchar(60)
Select @Sub = 'TLD Reconciliation - Co... more >>
Adding Identity Column to BIG table
Posted by jennifer1970 NO[at]SPAM hotmail.com at 5/25/2004 7:47:50 AM
I've got a table with 36+ million rows. I've been asked to modify the
table and add in an identity column. The code I used caused SQL to
lock up and it maxed out the log files. :)
The code I used is:
Begin Transaction
Alter Table ODS_DAILY_SALES_POS
ADD ODS_DAILY_SALES_POS_ID BigInt NOT... more >>
Novice question regarding client notifications from a server
Posted by korovyev NO[at]SPAM rambler.ru at 5/24/2004 11:48:41 PM
What is the common mechanism (if any) to make the server notify a
client when some condition is met (say, upon completion of a
sql-transaction)? The only way to implement this feature I am aware of
now is to set up a timer and query the server every once in a while
but surely this technique isn'... more >>
Mapping SQL Server Data Types to C DataTypes
Posted by sandell NO[at]SPAM pacbell.net at 5/24/2004 12:44:14 PM
Hi Can anyone point me to a document somewhere that shows a mapping of
SQL Server 2000 datatypes to C datatypes? I am writing some extended
stored procedures which need to be able to process pretty much any
data type, so I want to make sure I am taking them from SRVPROC and
storing them in the ... more >>
Sql server-compi question
Posted by mike at 5/24/2004 12:32:21 PM
Hello to everyone.
Hi there i have a question i am building a website in .net that will use a
database back-end. The .net Pages will be hosted by a payed provider. The
MSSQL-Server Database will be hosted behind my own adsl connection. The
thing i hope some of you could help me with. Is what ... more >>
Query to get the Domain from the email
Posted by aj70000 NO[at]SPAM hotmail.com at 5/24/2004 12:04:09 PM
Hi,
I wanted to get the domain name from the email in a query..
So if the email is aj70000@hotmail.com, I just to display hotmail.com
Thanks in advance for the help.
AJ... more >>
script to remove nulls from DB?
Posted by swalker NO[at]SPAM ainet.com at 5/24/2004 10:29:26 AM
Hi all.
I've been tasked with "speeding up" a mid-sized production system. It
is riddled with nulls... "IsNull" all over the procs, etc.
Is it worth it to get rid of the nulls and not allow them in the
columns anymore?
If so, how to go about removing the nulls with a script?
Thanks s... more >>
Wrong record retrieved after move to SQL Svr
Posted by J at 5/24/2004 8:58:49 AM
I've moved the database tables from the .mdb file to Sql Svr and now I have
an *intermittent* problem. When I select a record from a combo box, it will
intermittently pull up the wrong record. The code that does the search is
below. I have a column named 'ProsId' that is a unique number (ident... more >>
Log shipping wizard doesn't show up in Enterprise Manager
Posted by swechsler NO[at]SPAM bigfoot.com at 5/24/2004 6:10:24 AM
I thought I'd give the SQL Server 2000's log shipping wizard a try (in
the past I've always done it with Perl scripts), so I attemted to set
it up on one of my servers. But in the maintenance plan wizard, I
don't get the checkbox at the bottom of the window to "Ship the
transactions logs to othe... more >>
Cretae a view in one DB with a stored procedure from another DB
Posted by hdenooijer NO[at]SPAM hotmail.com at 5/24/2004 5:03:14 AM
Hi,
Ik created an application with visuals basic.NET. This has a
connection string to one database, let's say 'A'. In this database a
stored procedure is called which should execute a string (which is
passed by the) VB tool. This string is a CREATE VIEW statement en this
should be executed i... more >>
Which is faster?
Posted by Jonathan Amend at 5/24/2004 12:02:15 AM
I'm sonewhat new to MS SQL Server and I'm wondering about which of the
following two queries would be faster:
DECLARE @ResidencesBuilt int
DECLARE @BarracksBuilt int
DECLARE @AirBaysBuilt int
DECLARE @NuclearPlantsBuilt int
DECLARE @FusionPlantsBuilt int
DECLARE @StarMinesBuilt int
DECLARE... more >>
@local_var really cannot hold table name ?
Posted by mrazek NO[at]SPAM compik.fd.cvut.cz at 5/23/2004 11:10:43 PM
Hi,
I have tables named like ag97a027, ag98a027, ... where 97 and 98 is
from year 1997, 1998 and a027 is just specification of product type. I
need carry out repeated operataions over these tables. To generate
their names is easy, for example
use [P5-01]
declare @Yint int, @Y char(2), @tabNa... more >>
data types
Posted by paeng01_66 NO[at]SPAM yahoo.com at 5/23/2004 7:43:33 PM
what is the equivalent data type of autonumber of access in sql server?... more >>
Trouble with Update syntax
Posted by bolidev NO[at]SPAM hotmail.com at 5/23/2004 7:12:59 PM
I'm new to SQL and can't figure out how to update my table
(StoreItemStatus) that contains the current status for items in each
store (STORE_KEY, ITEM_KEY, STATUS,...).
I get updated status info in a table (I'll call it NewInfo) that
has similar fields. NewInfo may contain multiple records for ... more >>
Conversion Problem
Posted by ernix at 5/23/2004 10:36:09 AM
I want convert a mysql database in SQL Server 2000. SQL Server forecastes
the possibility to view graphically the relationship between all tables
containing in my database with relative structure by graphic.
About mysql i don't know as actes.
Thanks and i'm sorry for my probable encorrected engl... more >>
Newbie - Filling Tables with Data
Posted by -Michelle- at 5/23/2004 10:35:12 AM
Hi
I am writing SQL scripts to define my tables and also fill some of them with
data that are essentially look up tables. One of the tables contains
hundreds of stock items which need to be filled with information.
Is it better to write my INSERT INTO.... statements to fill this large table... more >>
Correlated Subquery with distinct Record
Posted by aj70000 NO[at]SPAM hotmail.com at 5/22/2004 10:34:41 PM
record_id Status Due_date
549 In Progress 2004-06-02 00:00:00.000
549 Not Started 2004-06-07 00:00:00.000
549 Not Started 2004-06-08 00:00:00.000
549 Waiting 2004-05-31 00:00:00.000
549 Waiting 2004-06-04 00:00:00.000
550 Completed 2004-05-05 00:00:00.000
551 Completed 2... more >>
Inserting a select with an additional static field
Posted by merkasoft NO[at]SPAM yahoo.com at 5/22/2004 7:26:15 PM
I have a stored procedure where I want to select all fields matching
the query into another table. In addition, I want to add a common
groupID to each of the records that are being inserted into the second
table.
I can get the results that I want by using a temporary table but need
to know i... more >>
deadlocks in sql server
Posted by hasan NO[at]SPAM mobilink.net at 5/22/2004 2:54:57 AM
Hi
I'm having a problem with deadlocks in a table in SQL server when
trying to update it through Biztalk 2004. There is no problem when I
use the same Biztalk solution to update a similar dummy table, but
when I try updating the original table in the production database,
some transactions are... more >>
|