all groups > sql server programming > february 2005 > threads for saturday february 19
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
Import Text File DTS
Posted by Lionel at 2/19/2005 6:04:40 PM
Hi,
I use DTS to import a text file into a table.
I have a primary key for this table.
If I have 3 lines to import in the text file, and if there is an error with
the on the line number 2 (because of the primary key field...), nothing is
imported.
I would like the DTS to import the lines 1 a... more >>
Help with Default Value
Posted by Neil Steventon at 2/19/2005 5:57:47 PM
Hi,
I have a table with a filed called - DateEntered which has the default value
of getdate().
I woul however just like it to return the date in the format dd/mm/yyyy
without the time, how do you do this as a default value.
I ca query the table and convert but thought there must be a simple... more >>
Error after installing Whidbey!
Posted by Nab at 2/19/2005 3:31:03 PM
I've installed Whidbey (VS Studio .net 2005 beta 1) (i already had VS .Net
2003 installed as well) and now I can't open my old sql databases! An
mmc.exrror comes up: The instruction at "0x00000000" referenced memory at
"0x00000000". The memory could not be "read". Any idea how this could be
... more >>
Help...long-running query...
Posted by Fabri at 2/19/2005 11:27:11 AM
I'm executing a query from query analizer like this:
update tab
set myfield = ''
where <condition>
this tab is 400.000 rows and myfield is a ntext field.
It is running from about 1.50 h!!!!!
please how can I view if it is blocked/locked? And how can I run this?
Or Can I try to s... more >>
Rows to column
Posted by aneesh at 2/19/2005 10:43:13 AM
Hi Experts ,
This is a question i have to face in an interview
I have the table and Values as follows
a(int) b(char) ord(int)
-------------------
1 qwe 1
1 rty 2
1 uio 3
2 asd 1
2 fgh 2
2 ... more >>
Stop update from trigger executing same trigger
Posted by Ben at 2/19/2005 10:17:49 AM
Hi
I have a trigger that will update the same table that executes the trigger,
is there a method of running an update statement without re-executing the
trigger.
Thanks
B
... more >>
QueryHelp
Posted by aneesh at 2/19/2005 12:14:04 AM
CREATE TABLE [Admin_PackageFunctionalities] (
[PackageID] [tinyint] NOT NULL ,
[ServiceID] [int] NOT NULL ,
CONSTRAINT [PK_Admin_PackageFunctionalities] PRIMARY KEY CLUSTERED
(
[PackageID],
[ServiceID]
) ON [PRIMARY]
) ON [PRIMARY]
GO
CREATE TABLE [Admin_Package] (
[Packag... more >>
|