Archived Months
January 2003
March 2003
April 2003
May 2003
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
April 2008
all groups > sql server programming > february 2007 > threads for sunday february 11

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

Need help Evaluating formulas and prices in stored procedure
Posted by Steve Ledbetter at 2/11/2007 11:48:55 PM
I maintain a products module and have some issues in keeping prices updated. Our product records each have 6 pricing 'levels', each price level has an associated formula for calculating the price based on several cost factors, and has a set of rounding parameters for each level so that each pr...more >>


Does column allow null values or not
Posted by sk NO[at]SPAM email.si at 2/11/2007 10:52:36 PM
Is there a function to check if column accepts null values (nulls allowed or not)? SK ...more >>

Problem! help!
Posted by Rex at 2/11/2007 10:08:50 PM
Hi I have a table called "Member" as given below.. familyID memberID firstName -------- -------- -------------------- 0 7 Stuart 0 5 Kasey 0 1 Sally 0 2 Cooper 1 9 Rosemary 2 3 Lisa 2 6 Steph...more >>

Backup concept
Posted by Jason Huang at 2/11/2007 9:58:14 PM
Hi, I have SQL Server 2000 in my Windows Server 2003, there're 11 databases running my company's applications. I am thinking backing up the databases to my PC, in case a complete server failed and the server just dead. What do I need to backup from the SQL Server? If I installed another SQ...more >>

SQLDMO.SQLServer
Posted by Taha at 2/11/2007 8:32:10 PM
Hi All Haw can i Run (Select * From MyTable ) In Sp With Create SQLDMO.SQLServer Object Thanks ...more >>

Sp
Posted by Taha at 2/11/2007 5:19:48 PM
How Can I Do This CREATE FUNCTION [test1] () RETURNS TABLE AS RETURN (Exec MyProcedure) ...more >>

SP Join
Posted by Taha at 2/11/2007 4:36:55 PM
Hi, I have a stored procedure that requires several input parameters. I would like to join the results of the stored procedure with another table but I'm having a tough time getting the syntax correct. For example: To run the stored procedure: exec usp_FetchPeople(@Gender = 'F', @City = 'Bost...more >>

Developer or Enterprise
Posted by Florida at 2/11/2007 3:05:15 PM
One thing that I cannot find anywhere is a simple explanation of which one has more features. If I go with the Developer edition of SQL Server what do I give up over Enterprise, or what do I gain that Enterprise edition lacks? Thanks in advance, Joe in Florida ...more >>



How to write a simple group by with order by query?
Posted by jshenj2001 NO[at]SPAM yahoo.com at 2/11/2007 1:38:08 PM
Not sure if this is possible with SQL. I got a table invest like below investor_id invest_term invest_class amount 1 2 short 5.5 2 7 short 15.5 3 90 mid 20.0 4 ...more >>

CREATE DATABASE permission denied in database 'master'.
Posted by Eugene at 2/11/2007 1:28:09 PM
Yet another one on this error. I installed Vista Ultimate, VS2005, SQL Express (.\SQLEXPRESS), applied SP1 and installed Management Studio Express. When I want to create a new database, it gives the following error: CREATE DATABASE permission denied in database 'master'. I am an admin o...more >>

Using timestamp column
Posted by yaser at 2/11/2007 12:33:55 PM
Hi all; I have customerID ,order,orderDate......how to write a query to show what is the latest order a particular customer has ordered.... remember the same customer may have several rows in the table ,but they might not be organized based on the date. I need a query to select the lates...more >>

Bulk Insert vs OpenRowset w/ Text Driver
Posted by Kyle at 2/11/2007 10:17:06 AM
Very frequently, roughly every 10 seconds, I need to load data from a staging file. The data will not load directly into the destination table(s), but needs intermediary processing. The amount of data with each load will be smallish (dozens to maybe a thousand rows by ten or so columns), so id...more >>

What are cubes?
Posted by jack at 2/11/2007 9:27:28 AM
Hi all i just wanted to know what are cubes and how do they help in optimiztion of a query.. what are their uses.. and how would a traditional query would turn out to be more effiecient with the implementation of cubes.. Thanks for replying me... ...more >>

SET ANSI_WARNINGS OFF is being overwritten somewhere
Posted by Laurie Murphy at 2/11/2007 9:07:00 AM
I have checked with our DBAs and the default setting for the database I am using is SET ANSI_WARNINGS OFF. Several of the stored procedures and triggers I inherited were setting them OFF at the beginning and back to ON at the end. This was causing 2 recompiles every time any of these objects w...more >>

binary datatype of large nvarchars
Posted by Michael Zdarsky at 2/11/2007 3:41:00 AM
Hello NG, we have a store procedure in which we create a dynamic SQL statement in the following way: declare @myCommand NVARCHAR( 4000 ) SET @myCommand = N'SELECT ...' SET @myCommand = @myCommand + @param1 SET @myCommand = @myCommand + ... .... EXEC @myCommand + @mySubSelects + @...more >>


DevelopmentNow Blog