Viewing 15 posts - 1,621 through 1,635 (of 2,038 total)
Hi Mike
So the hard way (for now)...
Open command shell. Enter:
C:\> sqlcmd -S (local) -E
... and press enter. Now you should be connected.
With the following two lines you can see which...
April 1, 2009 at 10:49 am
Hi
This is a little less information to help.
* What does your progress? Show data? Update data?
* How many data does it handle?
* Which statement(s) do you use?
Greets
Flo
April 1, 2009 at 10:42 am
liviu.rabuga (4/1/2009)
second....I think....there are no 70 seconds on my watch
I can introduce you to my project manager, he can explain that. He sometimes also thinks that days have 30 hours....
April 1, 2009 at 10:37 am
Hi
Do you find the following tool:
Start -> All Programs -> Microsoft SQL Server 2005 -> SQL Server Management Studio
??
If yes, start it and a new connection dialog should appear automatically....
April 1, 2009 at 10:33 am
Hi David
You have to define the @Id also for OUTPUT when callin':
declare @ID uniqueidentifier
exec dbo.Add_Header @ID OUTPUT, 'A','B','C','D','E'
select @ID as ID
Greets
Flo
April 1, 2009 at 10:25 am
Hi
A little example. Your procedure:
CREATE PROCEDURE usp_MyErrorProc
AS
RAISERROR ('Hello, I''m a custom database error.', 11, 1)
In .Net:
private void Button_Click(object sender, RoutedEventArgs e)
...
April 1, 2009 at 10:21 am
Steve Jones - Editor (4/1/2009)
April 1, 2009 at 10:10 am
Hi David
You cannot use RETURN for guids. You have to define an additional parameter (e.g. @Id) as OUPUT parameter:
CREATE PROCEDURE [dbo].[Add_Header]
@Id ...
April 1, 2009 at 10:00 am
Steve Jones - Editor (4/1/2009)
If you think this database might not be used, then set AutoClose and when someone accesses it, an entry will go into the error log.
Hi Steve
I...
April 1, 2009 at 9:46 am
Oversight...
You are using a linked server, right?
"TRUNCATE TABLE " is a DDL statement, not a DML so I think it is not possible with a linked server.
Maybe it works over...
April 1, 2009 at 8:20 am
Dang! You got me! 😀
I really feared that something might be damaged and started to review the script...!
Have a nice day 😉
Flo
April 1, 2009 at 8:12 am
Change the (not posted 😉 )
EXECUTE @sql
To this:
EXECUTE (@sql)
Or this (requires @sql as NVARCHAR):
EXECUTE sp_executesql @sql
Greets
Flo
April 1, 2009 at 8:09 am
I'm using the sys.indexes as overview for all tables. In operative processes it seems to be a quiet rare requirement to get a complete count without any criteria.
Greets
Flo
April 1, 2009 at 7:48 am
Hi
Two questions:
* Could you please provide your sample data as file?
* Could you please provide your expected output XML as file?
Since now it is hard to help 😉
Greets
Flo
April 1, 2009 at 7:44 am
Viewing 15 posts - 1,621 through 1,635 (of 2,038 total)