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 > august 2005 > threads for sunday august 28

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

Don't Know How To Explain It
Posted by Eamon Straughn at 8/28/2005 11:46:24 PM
The tables are as follows CREATE TABLE dbo.Blogs dId int * PRIMARY posted datetime(8) title nvarchar(50) catgy nvarchar(50) blogs nvarchar(500) picId int UName nvarchar(50) CREATE TABLE dbo.BlogPix bgId int * PRIMARY picId int Photo nvarchar(50) Caption(50) UName nvarchar(50) I ...more >>


Please Help!!!
Posted by Viccu at 8/28/2005 8:48:26 PM
I want to upload a Text file which is comma delimited into SQL Server Database through.NET application. Can someone let me know the best way to do it? Can someone helpme with the stored procedure for the same as well? Thank you in advance Vic....more >>

Set-based Solution for This
Posted by a_gera80 NO[at]SPAM hotmail.com at 8/28/2005 5:54:29 PM
I may have asked this type of question before but I couldn't find it in the archives. Apologies if I have. Basically I'm looking for a set-based solution for what I would've thought was a pretty common sort of problem. I have a set of accounts, each of which has a current balance and a purchas...more >>

Is there a way to turn logging off for a single table?
Posted by Brian Kitt at 8/28/2005 5:33:16 PM
I have a table that is used to store data feeds. The table is built fresh every day. There are about 1 million records inserted to the database on this feed every day, and the resulting table is about 400 meg in size. This data is then deleted at the end of the day, and a new feed is brough...more >>

How to update tables that are not directly related
Posted by Mike Collins at 8/28/2005 3:46:03 PM
I need to be able to update the existing data in sched_report_milestone when my vendors table has a record inserted or updated. The fields in sched_report_milestone that would need to be updated are vendor_id_csv and vendor_name_csv. The tables do not directly relate to each other. The foll...more >>

incrementing question
Posted by LS at 8/28/2005 1:29:58 PM
Hello, I have a table with 2 fields: (Keyfield, Hits) The hits is a value of (0,1, 2, 3,...) Each time a user visits a webpage in my application I want to increment the Hits field in the database for a Keyfield. What is the best way to do this? (note that 1000ths of users can visist the ...more >>

SQL stored procedure using LIKE
Posted by amber at 8/28/2005 1:11:02 PM
Hello, How can I do the following: I have a stored procedure that is called and passed a variable from .net. I currently use it 2 ways - if no variable is passed, pull all records, or, if a variable is passed, pull that record. What I need to do, is, if the user enters one or 2 characters, p...more >>

bcp and invalid character value set
Posted by Pascal Haddad at 8/28/2005 11:09:34 AM
Hello I've read that there is a bug in sql server 2000 when doing a bcp command with dates in dd-mm-yyyy format. and to fix it there is a hotfix contained in sp4 . I ve installed the sp4 but the bug remains anybody has an idea about this hotfix and from where we can get it thx ...more >>



Is "Create FUNCTION" a valid command in SQL 7?
Posted by Don at 8/28/2005 11:00:13 AM
Is "Create FUNCTION" a valid command in SQL 7? Whenever I try and create a function I get the error "Incorrect Syntax near FUNCTION" Thanks Don ...more >>

SP Recompile option
Posted by Rakesh at 8/28/2005 8:53:39 AM
BOL: When SPs take parameters whose values differ widely b/w executions of the SP, resulting in diff. execution plans to be created each time, forcing a recompile shud be considered. What variations in the values is being talked abt?? Thanks...more >>

Multiple select statment inside a stored procedure
Posted by Noodle at 8/28/2005 6:37:51 AM
Hi there ! Recently i had written a stored procedure which contain multiple select statment. One follow by anyother, like the following, declare @nTemp int select count(*) AS TempCount from tableA where conditionA select @nTemp = TempCount select count(*) from tableB where condtionB s...more >>

REPLACE function needed to remove single quotes from an output
Posted by HB at 8/28/2005 12:28:22 AM
I have a variable @var1 of type varchar(100) which captures the following error message, which is produced by executing a sql statement: Incorrect syntax near the keyword 'where'. Please pay special attention to the single quotes around the word where. These single quotes are causing a lot o...more >>

Query set up: Families & Family Members
Posted by optidev at 8/28/2005 12:18:01 AM
I have two tables, tblFamilies & tblFamilyMembers. How do I write a query which will return the family name in the first column, and all of the family members seperated by commas in the second column? Thanks, Lomas...more >>

Why have no perssion to recover
Posted by ad at 8/28/2005 12:00:00 AM
I want to backup and restore a database in asp.net. The backup process is successful and fail when restore with message: User does not have permission to RESTORE database 'Health'. RESTORE DATABASE is terminating abnormally the restore SQL is : restore database Health ...more >>


DevelopmentNow Blog