all groups > sql server programming > march 2005 > threads for sunday march 6
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 31
log the warning
Posted by kevin at 3/6/2005 11:51:56 PM
when I execute the query, I get warning sometimes.
Now, is warning part of master.dbo.sysmessages?
I think it's impossible to save the warning message to a file or
even to database table, right?
... more >>
error 547
Posted by Eniko Tegen at 3/6/2005 10:49:06 PM
I need to know the completely description of this error. It appears in
sysmessages table
so:
"%ls statement conflicted with %ls %ls constraint '%.*ls'. The conflict
occurred in database '%.*ls', table '%.*ls'%ls%.*ls%ls."
I need to know exactly what kind of values can have this parameter... more >>
How to stop SP ??
Posted by Agnes at 3/6/2005 10:24:46 PM
My aims is ..i want the SP do nothing . even some one call the SP
in vb.net , I can use EXIT sub or exit fucntion , so. does any code i can
put to make sp do nothing (or comment all the code instead ??)
Thanks
private function...
exit function
...my code
end private
... more >>
SELECT Master - 2 Details
Posted by Bruno N at 3/6/2005 8:45:25 PM
Hi, can u guys help me out please!
I cant build a select statement to return all rows from all three tables.
Here are my tables:
CREATE TABLE [Person] (
[Id] [int] NOT NULL ,
[RG] [varchar] (50) COLLATE Latin1_General_CI_AS NOT NULL ,
CONSTRAINT [PK_Person] PRIMARY KEY CLUSTERED
(
... more >>
enterprise key??
Posted by Hazz at 3/6/2005 5:41:01 PM
has anyone heard of this? A unique key separate from primary keys? Something
that stands apart from say, clientID, employeeID, companyID,...? thx, -hazz
... more >>
BCP & DMO
Posted by Frank Ashley at 3/6/2005 3:26:56 PM
I can script out a table's data using dmo and the bulkcopy2 object but how
can I get it to script out using ORDER BY?
Thanks
Frank
... more >>
Extract filename
Posted by Stijn Verrept at 3/6/2005 3:21:04 PM
Quick question (with hopefully a quick answer :)
Does there exist a function that turns this:
C:\projecten\33994\400134506.doc
into
400134506.doc ?
--
Kind regards,
Stijn Verrept.... more >>
Stored Procedures and Uniqueidentifiers (GUIDs) as Parameters
Posted by Zachary Hartnett at 3/6/2005 2:05:40 PM
Given the following stored procedure:
-------------------------------------
create procedure TestInsert
@Tag uniqueidentifier
as
insert Test(Tag)
values (@tag)
go
-------------------------------------
I was trying to call it in the following
ways (which failed... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
use a function in a parameter of a stored procedure
Posted by Gary P at 3/6/2005 1:39:01 PM
Hi. A hopefully quick question that i am having trouble finding an answer to
making this work:
If you have a sql server 2000 stored proc:
CREATE PROCEDURE AddSomething
@thething varchar( 150 ),
@newid uniqueidentifier = NEWID() OUTPUT
AS
INSERT INTO table( id, t... more >>
remote saleslogix user problem using msde
Posted by jcharth NO[at]SPAM hotmail.com at 3/6/2005 11:53:30 AM
Hello, I am trying to setup a remote user in saleslogix. I can login to
the remote databse but i cant login to the local msde, I attached the
remote database successfully but i believe the password of the remote
database does not match. any ideas? should i regenerate the remote
database? can any... more >>
BDNull error...not expected!
Posted by Nab at 3/6/2005 10:13:01 AM
I have a connection (SqlConnection1) established through the GUI. Here's the
code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
'Create and initialise the command object
Dim cmd As New SqlCommand("GetAddress", ... more >>
Why is Decimal not decimal!!!
Posted by Nab at 3/6/2005 8:19:02 AM
Using the the Enterprise Manager, I've created a table in SQL server with a
field whose data type is Decimal. But when i enter floating number values in
that field (e.g. 6.5) they revert to whole numbers (e.g. 6)
Why is this and how can i make it accept floating number values
Thanks for an... more >>
|