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 > january 2005 > threads for saturday january 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

Deleting rows...
Posted by Rob Meade at 1/15/2005 6:53:44 PM
Hi all, Ok - I'm familiar with the process of deleting rows from a table, however... If I have a series of tables which are linked together by an ID field thus creating a hierarchy (tier 1, tier 2, tier 3, tier 4 etc) - if I then want to remove a row from tier 1 and 'everything' which is lin...more >>

Inventory Query Help Needed
Posted by TheBook at 1/15/2005 4:29:02 PM
I have two tables shown below. When someone logs into the network the computer registeres it's information in the two tables shown below, hence duplicating it's computername, ipaddress, and username information in each table (don't ask me why the guy setup it up for two tables instead of com...more >>

custom transformation and broken FK
Posted by aamirghanchi NO[at]SPAM yahoo.com at 1/15/2005 3:04:44 PM
Hi, I need to do the following through Enterprise Manager (EM). I need to copy the structure of all the tables along with their PK, FK etc and need to copy the data of only select set of tables (not all of them). I tried doing this in EM but lost the relationship between tables in the target ...more >>

TimeZone problem
Posted by AR at 1/15/2005 2:37:31 PM
Hi, I have my SQL Server running in Texas (-6.00 hrs relative to UTC) and my friend end application runs in UK. So Wherever i use the GETDATE() function, its displaying the US time. I wanna know How can i convert the time to UK other than using DATEADD. regards Aneesh ...more >>

Missing something obvious?
Posted by Rob Meade at 1/15/2005 2:01:22 PM
Hi all, I have the following tables: tblPages PageID SectionID tblPageAssociations PageID SectionID tblSections SectionID all columns are of INT type. What I have done is added SectionID to tblPages so that I can drop the use of tblPageAssociations (which just linked Sect...more >>

programmatically check for primary keys
Posted by Mark at 1/15/2005 1:02:05 PM
What system table(s)/information_schema view can be used to determine if a column is part of a primary key in a table? Thanks in advance. Mark ...more >>

Recreate constraints and indexes
Posted by Amine at 1/15/2005 12:55:02 PM
Hi all, I have created an application that allows user to edit a table by altering columns (length, data type etc..). I am creating a temporary column that will have all the specifications that the user wants, then insert the data from the original column into the temp column, then drop all ...more >>

Problem with linked server
Posted by Alexander Szigetvary at 1/15/2005 11:27:11 AM
Hi NG! Sql-Server: W2K3 SQL 2000 SP3 Domain: W2K3 I am having several problems using a linked server: I am using a linked server to import data from a excel-file that is stored on the sqlserver (is there another way?). I have a local windows user (member of a special group to improve secur...more >>



execute ASP from SP/Trigger
Posted by ori at 1/15/2005 10:23:27 AM
Hi, I have Buesiness Logic running on ASP. I want to know if theres a way of runnig ASP code by calling it from Trigger or SP ? Tnx, Ori...more >>

How to backup/restore entire database in easiest way?
Posted by Do Quyet Tien at 1/15/2005 9:32:17 AM
Hi, I'm found this sample for BACKUP DATABASE statement in SQL Server 2000 Book Online, but is seemed that only save file to server. How can I save backup file to local computer? or there is other way as easy as this statement for backup/restore database? -- Create a logical backup device f...more >>

DBReindex
Posted by Ed at 1/15/2005 9:29:02 AM
hi all, Is that really necessary to schedule a job to reindex all tables in the database? let's say about once a month? I read an artile about since we insert, update, delete data frequenlty, schedle a job to reindex is a good pratice... any ideas or opinions? Ed ...more >>

Trigger error MSG
Posted by jaylou at 1/15/2005 6:47:02 AM
I have an Access front-end Program that uses an MDE so I can't modify anything in it. The program links to a SQL server 2000 DB. I created a trigger on a table to prevent insertions of certain setup options. When you try to insert the options you get a huge error message and my "raise error...more >>

How to use the T-SQL debugger in Q.A.
Posted by NewDBAGuy at 1/15/2005 6:09:02 AM
Are there any good tutorials on using the debugger built into Query Analyzer? Books Online doesn't seem very helpful. If anyone has any good URLs or sources, it would help, as I am working to troubleshoot some stored procedures on my server after a conversion. Thanks in advance....more >>

Trigger Question
Posted by Gassy at 1/15/2005 5:13:06 AM
I am very (4 days into it) new to SQL. I have a database that is receiving data from another third party application and I have written my first trigger to alter some data in a particular field when records are transferred into the database. When I insert one record the trigger works fine bu...more >>

Converting int to Datetime
Posted by Nickl at 1/15/2005 4:27:02 AM
I have a field of date values in the form yyyymmdd and stored as int. I would like to convert them to datetime datatypes when appending to a new table, but can't get it to work. I have been trying "Convert(Varchar(30),Fieldname, 103)" but get the out of range error message. I have tried puttin...more >>

Returning OUTPUT variables
Posted by Nickl at 1/15/2005 1:25:03 AM
Can someone tell me how to retreive the @@rowcount value from a stored Proc that is call VIA ADO in an MS Access Project. I have declared my output variable in the Proc, and pass in a variable with my calling code, but I don't know how to retrieve the value of the OUTPUT variable. My calli...more >>

Slow stored proc vs Query Analyzer
Posted by -sakkie69- at 1/15/2005 12:49:33 AM
Hi there, I have a query that when run in Query Analyzer it takes around 8 to 9 seconds to run but if I put this query in a stored proc is takes forever without returning any results (no locks, it uses (nolock) and CPU/IO time is going up for process ID) It is using clustered and nonclus...more >>


DevelopmentNow Blog