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
August 2008
all groups > sql server programming > august 2004 > threads for sunday august 15

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

DateTime format during INSERT
Posted by Tim at 8/15/2004 10:21:01 PM
Hi, The date format of the SQL Server causes me some trouble at the moment: My INSERT statement uses DateTime values of the format "yyyy-mm-dd hh:mm:ss.mmm" but they somehow get interpreted as"yyyy-dd-mm" causing a date format out of range exception. How can I "force" SQL Server to use my d...more >>


SQL 2005
Posted by John at 8/15/2004 5:38:39 PM
Is SQL 2005 Beta 2 and SQL 2005 Express are same? If not, how can I get SQL 2005 Beta? Thanks....more >>

Time and storage complexity of nulls in SQL Server 2000
Posted by Novice at 8/15/2004 5:31:02 PM
I read in the book "Inside SQL Server 2000" that SQL server keeps a special bitmap in every row in indicate which nullable columns are null. If nulls are allowed, SQL server must decode this bitmap for every row accessed. How big is this bitmap? I mean if I have a fixed size nvarchar dataty...more >>

Union results of SQL query with results of stored procedure
Posted by Novice at 8/15/2004 5:27:02 PM
I've done some reading and can't seem to find any way of creating a recursive stored procedure and taking the union of each invocation of that stored procedure without using temp tables. To be more clear, if I have a stored procedure: CREATE PROC recursive_proc1 @someUID int AS DECLARE @so...more >>

simple Select (i hope)
Posted by Jeff at 8/15/2004 4:54:30 PM
OK. this is in access DB. I have a table called matches. i have a field called (username) and a field called (username1) this is where the reports go to. i have another table called players, that has (username) field. what i want to do is this... i want to display a table.. that gets the user...more >>

IIS and SQL Server Persmission Issue
Posted by Patrick24601 at 8/15/2004 3:36:21 PM
IIS and SQL Server Persmission Issue I am getting an error trying to run a SQL Server SELECT statement from an ASP Application. I am learning ASP/IIS/SQL Server by writing a small ASP app in Dreamweaver. I've created and tested the ODBC connection just fine. And when I create the connect...more >>

Linked Server Dynamic Syntax
Posted by Sam at 8/15/2004 1:55:20 PM
I need to chane this link server info based on the @szCampaign given but it keeps erroring out with incorrect syntax near + (HELP) Thanks declare @szCampaign varchar(3) ; set @szCampaign ='XYZ' EXEC sp_addlinkedserver @server = @szCampaign, @provider = 'MSDASQL', ...more >>

Problem with SQL Server permissions, thru EM and Access
Posted by Larry Woods at 8/15/2004 12:07:08 PM
This may be too much of an "Access" question, but I have a feeling that someone who knows LOTS more about permissions than I do can see the problem.... I have an offsite SQL Server (IP address) database. I can get to it just fine using Enterprise Manager; make changes to tables, add fields, e...more >>



Using SQL SERVER instead of MSDE in custom made application
Posted by Tychi Almero at 8/15/2004 12:02:32 PM
Hi. I'm trying to use SQL Server instead of MSDE in a custom made application. I found that this application uses "SELECT @@VERSION" to discover witch version of SQL is installed. Is there anyway so I could change this SQL Server property? Here is the result that MSDE outputs: Microsoft SQL...more >>

Creating a User defined function with a case statement
Posted by Robert at 8/15/2004 11:33:11 AM
can you include a case statemnet within a user defined function and if so how ...more >>

I'm brain dead. A simple OUTER JOIN question.
Posted by Larry Woods at 8/15/2004 7:25:01 AM
What am I missing? I have a simple master-detail table set. I want to list ALL of the Master ID values AND the ID values for a field in the Detail where a Detail ID = ? Isn't this what an OUTER join is supposed to do? So, I executed this: SELECT tblMaster.masterid,tblDetail.detailid FRO...more >>

temporary table problem
Posted by Tom at 8/15/2004 7:07:20 AM
I am building an internet appliacation. Many users share only one sql login. During page generation there is on stored procedure, which creates temporary table #tmp_table. Can I have problem with this approach? It seems to me, that yes. If for example two users need the same page, so two #...more >>

A query that is driving me mad!!
Posted by Akeel Ahmed at 8/15/2004 5:37:02 AM
Hi, I have recently come across a simple problem (one that I am sure I have solved before). I have three tables: TGroup (GroupId, Descriptor) TPlan (PlanId, Descriptor) TGroupPlan (GroupId, PlanId) I want to write a procedure which will give me the following result set: Columns will...more >>

Performance and Bit fields..
Posted by Rocky Moore at 8/15/2004 3:27:02 AM
Let us say that you have an inventory table which has an active flag to denote that the inventory item current if set and is older discontinued inventory if not set. Your add 2,000 new inventory items per week and 500-2,000 items become discontinued each week. In normal operations you are only...more >>

How to update Foreign Key value to normalize data
Posted by Steve Lewis - Website Nation at 8/15/2004 2:38:17 AM
I am in the process of normalizing a database table. The current table has state abbreviations stored in a column. I created a state table and now I want to store the foreign key values instead of the abbreviations. Is there a update query I could write that would change the state abbrev...more >>


DevelopmentNow Blog