all groups > sql server programming > september 2006 > threads for sunday september 17
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
Calling Stored Procedures that return a value
Posted by Taniwha at 9/17/2006 9:12:51 PM
I have these two stored procedures that work as expected.
here ================
Create PROCEDURE [dbo].[GetCustomerIDFromCustomerDeviceByGUID]
-- Add the parameters for the stored procedure here
@gUID uniqueidentifier
AS
BEGIN
SET NOCOUNT ON;
DECLARE @customerID int;
SELECT @customer... more >>
Newbie, Update table problem.
Posted by Cylix at 9/17/2006 6:50:07 PM
I have a table with 80,000 rows.
A column of that is username, I am going to change the table structure
since we got a user table already.
I have added a column named userID.
I would like to update the userID from user table by the username,
so far, all userID and username is unique.
How t... more >>
best practise to use antivus in cirtrial sqlserver 2005 on w2k3thnks
Posted by alf at 9/17/2006 4:35:27 PM
Creating a new server/instance on SQL Server 2005 with SMO
Posted by Eric at 9/17/2006 3:20:02 PM
Is there a way to create a new instance/server using on SQL Server 2005 SMO?
For example, I have SQL Server 2005 installed on Server1, now I want to add
a "named instance" called "MyServer", this would then become Server1\MyServer.
Is there a way to create "MyServer" using SMO (or WMI for th... more >>
bulk insert: anyway to ignore the rows already in table?
Posted by nkw at 9/17/2006 11:51:02 AM
I want to use bulk insert to insert rows from a text file. The table has a
primary key and the text file may have rows caused "duplicated primary key"
error. Any way to let the bulk insert not try to insert these duplicated rows?... more >>
Transaction log Flush
Posted by debraleitl at 9/17/2006 10:47:01 AM
Hi, My DBA has flown the coupe, and I need to flush the transaction logs on a
data processing DB, as the log has grown so large it filled the disk up.
How can I do this? Is there a simple wizard? or Do I need to go into the
guts?
thanks
Debra... more >>
String Representation of Quarter Hour Periods
Posted by Mark at 9/17/2006 6:05:01 AM
I am trying to create a string representation of a quarter hour period within
which a time lies. So the time 14:23:36 would be 1415-1429, or 14:10:45 would
be 1400-1414 and so on. The time is obtained from a datetime field holding
both the date and the time.
I am new to SQL and have been try... more >>
Stupid End Users Writing Job Ads
Posted by Mike Labosh at 9/17/2006 3:41:27 AM
All I have to say is the following, and then I will crawl back under my
rock.
> REQUIRED:
>
> 5+ years .NET experience in VB, C#, ASP, Java
Huh? So if it's 2006, and .NET came out in 2002... I must be at a loss.
And I am just HOPING they didn't mean "Java" in a .NET Context. Sorry, I ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
customize query in SP according to parameters provided?
Posted by pedestrian at 9/17/2006 2:22:33 AM
I would like to customized the query statement according to
the parameters provided in a stored procedure.
Using Northwind Orders table. Says, I create a stored
procedure with two parameters (both for OrderID).
If user provide only first parameter, only 1 record is
returned. If both paramet... more >>
Help - SQL query problem
Posted by Timothy V at 9/17/2006 12:00:00 AM
Hi everyone, i hope someone can help me construct this query. To make it
easy, I will provide a simplified example of my problem and relationships
will exist between fields that have the same names. Three tables exist:
Programs(programID) - pk is programID
Jobs(jobID,dueDate) - pk is jobID
Pr... more >>
simple Q :How use declared var in executing string?
Posted by Tarvirdi at 9/17/2006 12:00:00 AM
how can I do this :
declare @i int
declare @s char(10)
set @s='select @i =max(id) from aTable where a>10'
exec (@s)
no connection between to pass @i.
How can I set out of string defined in string
Thanks
... more >>
|