all groups > sql server programming > september 2006 > threads for saturday september 9
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
Deferred drop
Posted by Dean at 9/9/2006 9:49:53 PM
Hi,
I need some clarification.=20
A few days ago, at our UG meeting, we had a discussion about some =
less-known new features in SQL Server 2005. Among these, deferred drop =
of large temporary objects - as described in =
http://www.microsoft.com/technet/prodtechnol/sql/2005/workingwithtemp... more >>
Trigger logic - this ok
Posted by Rob at 9/9/2006 8:24:29 PM
If I want the row inserted into the table regardless of whether or not the
Stored proc completes successfully, then is there any problem with employing
the following technique (placing a "commit transaction" on the first line)
?
CREATE TRIGGER testtrigger ON dbo.Orders
FOR INSERT, UPDAT... more >>
Displaying time as 1:20 PM
Posted by jonefer at 9/9/2006 7:48:01 PM
I managed to get my char text into a format that can now be sorted:
cast(convert(char(12),TimeOfAppt,8) as datetime) as Time
What i'm really trying to do is display it as:
1:20 PM
this must be easy?
... more >>
I have no blog
Posted by --CELKO-- at 9/9/2006 7:27:48 PM
PUBLIC NOTICE:
I have no blog. I have never had a blog. I have no idea who is using
my name, postings and likeness on that "SQL Apprentice" blog.
... more >>
Views Vs Stored Procedures!
Posted by Child X at 9/9/2006 4:13:31 PM
Hi all,
Just a quick question about when to use views in contrast to stored
procedures.
For example, i have the following table:
Subject:
- SubjectID
- Name
- Published
- AccountID
- CreatedDt
Now my app requires to respresentations of the Data;
1) Administrators require: Subject... more >>
xml file into table
Posted by UA at 9/9/2006 3:40:01 PM
I have a xml file which contains nested data.
for ex. each Order has multiple order details records.
The data should go into Order table and Order Details table.
How should I parse the xml file data so that it loads into two tables using
stored procedure?... more >>
ALTER TABLE
Posted by velmurugan(Internal) at 9/9/2006 3:14:33 PM
HI FRENS,
I WANT TO DROP PRIMARY KEY CONSTRAINT FROM A TABLE USING
ALTER TABLE,PLEASE GIVE ME THE SYNYAX TO
DO SO.
VELMURUGAN.D
... more >>
'System.OutOfMemoryException' ?
Posted by nkw at 9/9/2006 12:52:01 PM
(SQL 2005 on my PC, A table with 13 million rows)
I just did
select count(*) from T13M
It ran for a while and I canceled it.
Then I tried to see what the estimated execution plan is. And I got the
follow error message. Other operations are error prone too. I had to stop and
start the ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Formatting and returning Time from Text
Posted by jonefer at 9/9/2006 12:47:02 PM
I'm importing a time field as datatype - char, from a text file to prevent
the DTS package from erring - for some reason, if I import it into a DateTime
field it gets an error. So bringing it in as char has worked helpe aleveate
this problem.
However, when I look through the records, I see... more >>
HOW TO CALL A USD IN A SP
Posted by DEVA at 9/9/2006 12:45:07 PM
HI frndz,
i have two usd then how to call these usd in a single SP
... more >>
Copying data from 2000 to 2005. Indentity insert not working
Posted by Charlie NO[at]SPAM CBFC at 9/9/2006 11:54:18 AM
Hi:
I'm at my wits end. When copying data from sql2000 to sql2005, identity
columns are reseeded starting with 1. I have checked indentity insert on,
but makes no difference. How the heck do copy data from 2000-2005 and
without regenerating keys?
Thanks,
Charlie
... more >>
rows to column sql server 2000
Posted by xavier.sharon NO[at]SPAM gmail.com at 9/9/2006 11:20:42 AM
Hi all,
the query gives me the foll o/p as
column1 column2
A 1
B 20
C 10
D 13
E 14
but acct i want the o/p as
col1 col2 col3 col4 col5 col6 col6 col7 col8 col9
A 1 B 20 C 10... more >>
Alter Seed value of Identity column
Posted by Prasad at 9/9/2006 11:12:10 AM
Hi,
I want to create temporary table, say "a" which has a column say "col1"
which i wnt to be an identity for which I need to provide a seed value.
I tried the following
1. Create a Table with Identity seed,value as (1,1)
2. Tried to alter the table using "alter table a alter ... more >>
"Order By" Parameter to a Stored Procedure
Posted by Alex Maghen at 9/9/2006 7:53:01 AM
Can I pass a Parameter to Stored Procedure which will be the ORDER BY column
to be used in a SELECT? If so, what's the syntax?
Alex... more >>
Migrate data from Access to SQL 2005
Posted by mikepallorad NO[at]SPAM ausi.com at 9/9/2006 7:05:22 AM
hello everybody
using the SSMA migration from Access 2003 to SQL 2005 is cool.
then Robert Burke saved me a lot of strain
http://blogs.msdn.com/robburke/archive/2006/05/30/610803.aspx
but i couldnt quiet understand the link to
"reproduce the data from your local tables on the remo... more >>
Migrate data from Access SQL 2005
Posted by mikepallorad NO[at]SPAM ausi.com at 9/9/2006 7:02:52 AM
hello everybody
using the SSMA migration from Access 2003 to SQL 2005 is cool.
then Robert Burke saved me a lot of strain
http://blogs.msdn.com/robburke/archive/2006/05/30/610803.aspx
but i couldnt quiet understand the link to
"reproduce the data from your local tables on the remo... more >>
Can an email trigger a DTS Package?
Posted by jaylou at 9/9/2006 4:27:01 AM
I get an email to let me know files are ready for processing. Can I set
something up to kick off the job?
TIA,
Joe... more >>
|