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 > april 2004 > threads for sunday april 4

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

Reusing rather than copying Stroed Procedures
Posted by Tim James at 4/4/2004 11:16:03 PM
I want to use some stroed procedures I've created in multiple databases, within the same SQL server instance. Is there anyway I can reference the one copy of the stored procedures, rather than copying them to each database?...more >>


Accessing ODBC tables in Access from SP
Posted by Thomas Scheiderich at 4/4/2004 11:09:23 PM
Is there a way to set up a stored procedure to read from an ODBC access database directly into a new table in Sql Server 2000? Something like: **************************************** Select field1, field2 into new_table from old_table where something **************************************...more >>

Extended properties
Posted by Martin Hellat at 4/4/2004 10:31:03 PM
Hey Do extended properties make accessing objects slower or anything Like, when a table with 30 columns has 10 ext. properties and each column in that table has it's own 5 ext. properties, will accessing the same table without any ext. properties be any faster? Thanks Martin ...more >>

contactination string results in a null value
Posted by aussie rules at 4/4/2004 9:48:56 PM
Hi, I am concatinating several string together to create one string (string1 + string2 +string 3....) The problem is that if one of the stringX values is a null, then the entire string returns as a null. Is there a way around this Thanks ...more >>

COLLATE back to default
Posted by Guy Brom at 4/4/2004 6:35:48 PM
Hi there, My database was installted and set up to a default collation of Hebrew (1255). Which sql_latin is the default collation (there are several), and how can I make existing databases to use this new collation? Thank you kindly, G. ...more >>

CELKO -- ISO 11179
Posted by JT Lovell at 4/4/2004 6:18:53 PM
Joe, I've seen you mention this standard on many occasions and would like to = read up on the topic. However, I checked the ISO.org website, and found = the 7 publications they had cost US$450. I didn't find any primers on = the standard at Amazon either. Is there a concise summary of what'...more >>

IF THEN statement ..
Posted by aussie rules at 4/4/2004 6:07:29 PM
Hi, Easy I am sure but I am learning.. I have a basic store proc that I want to append an and clause to based on a value. My code is currently something like this select field1, field2 from table where status=1 and validacc =1 if a<b begin and largeaccount=1 end This...more >>

SET NOCOUNT questions
Posted by Guy Brom at 4/4/2004 6:04:59 PM
Hi there, 1) Is there an option on mssql2k to make SET NOTCOUNT default to ON? on every call and every connection to that database? 2) Will a @@ROWCOUNT after UPDATE show rows affected when NOCOUNT is set to ON ? Thanks! ...more >>



Moving Servers, Matching Collation
Posted by David Morgan at 4/4/2004 5:00:58 PM
Hi We are moving our database from a SQL 2K installation on W2K to a SQL 2K on Windows 2003 machine. We have a problem with some of the queries where the collation is not matched. We are using rebuildm.exe to try and change the collation but cannot seem to find an available collation that ...more >>

Dynamic SQL and Cursors
Posted by Khurram Chaudhary at 4/4/2004 4:36:44 PM
Hi, I'm having some trouble using cursors with dynamic SQL. It seems like if I try to fetch results from c_notInCart, nothing is there. Can anyone tell me what I might have missed? Is the cursor being declared within the scope of the EXEC statement so the results are not available? If so, how ...more >>

Extremely Frustrated - Still can't figure how to populate table
Posted by Learner at 4/4/2004 3:53:55 PM
I have posted a number of posts, got replies, have gone through some other posts too and I still can't solve the problem.... Thanks to all who have replied to my posts and at the same time my apologies if they feel that their effort was not worth it. The problem is with my thick skull and an...more >>

What makes trigger doesn't fire?
Posted by Willianto at 4/4/2004 1:35:33 PM
Hi all, I tried to incorporate following trigger on one table on my database (I use EM) CREATE TRIGGER t_journal ON [dbo].[T011] FOR INSERT, UPDATE, DELETE AS SET NOCOUNT ON IF EXISTS (SELECT item_pk FROM inserted) INSERT INTO T032 (item_pk, nQty) SELECT item_pk, nQty FROM inser...more >>

GetCPInfoEx: What is wrong with this code?
Posted by TomTom at 4/4/2004 12:21:50 PM
I am very new to C++ programming and don't know why this does not work. It compiles but when it's run, I get an error.... CPINFOEX * cpinfoex; GetCPInfoEx(CP_ACP,0,cpinfoex); MessageBox(cpinfoex->CodePageName); Here is the error I got. ----------- --------------------------- ...more >>

Truncating Different Field Types - Newbie
Posted by Alan at 4/4/2004 11:24:22 AM
I am trying to truncate Table B to Table A. One of the fields of Table B is numeric and this needs to transfer to a field in Table A that is a VARCHAR. How do I do the example below. Table B field Numeric say "9" to Table A VARCHAR required "009" Table B Field -> Table A Field 9 ...more >>

Representing Tree strcuture in database
Posted by Lourdhu at 4/4/2004 3:01:05 AM
hi all can any one help me how to represent tree strcuture in relational database in form of table(s) advanced thank with regards...more >>


DevelopmentNow Blog