Groups | Blog | Home


Archived Months
March 2003
April 2003
May 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


all groups > sql server (microsoft) > april 2007 > threads for april 22 - 28, 2007

Filter by week: 1 2 3 4 5

SQL Data Types
Posted by Richnep at 4/28/2007 11:28:17 AM
Hi All, THis should be a simple one. I have a table where the primary key is a vchar data type. The actual data is a 4 digit number between 1-9000. Most are whole numbers (i.e. 2000) with no decimal places. There are a few that have 1 decimal digit on them(i.e. 2000.1). What I would like to d...more >>

SQL Server 2005 cursor incompatibility issue, will not update through adodb recordset
Posted by dan.kresha NO[at]SPAM gmail.com at 4/27/2007 8:59:39 AM
This application worked like a charm with server 2000, but will not work with 2005. The application is trying to update through a cursor and an SQL Server ODBC and receives this error each time it tries to update "The cursor does not include the table being modified or the table is not updatabl...more >>

extracting date from datetime execution performance time problem
Posted by Manikandan at 4/26/2007 12:06:06 PM
Hi, I need to take date value from datetime column. I'm using convert function as below convert(varchar,date,103) I have a feeling that convert function taking much time to execute. How about using cast function. I'm querying a large number of records in table I need a function for displaying...more >>

Parse delimited column
Posted by ryan.carver NO[at]SPAM gmail.com at 4/25/2007 3:17:45 PM
I would like to parse a delimited column in a table that maintains 12 placeholders into a new table with 12 columns Each row / string looks something like this: 0;0;0;0;0;0;0;0;0;0;0;0 Does a simple solution exist? ...more >>

String function LEFT in where clause possible?
Posted by mail-rk NO[at]SPAM gmx.de at 4/25/2007 6:21:37 AM
Hi, I am brand new to MS SQL and an have to create a select statement for two tables. In each table I have a Field 'pc-name'. In table1 'pc- name' is 'PC001XP1' or 'PC20009'. In table2 the SAME machine is called 'PC001XP1_ROOM12' or 'PC20009_ROOM144'. I have to match these tables. I tried a sele...more >>

Comparing two dates with null values
Posted by Manikandan at 4/25/2007 5:37:42 AM
Hi, I have a doubt of querying a date column Table Name:Detail Name(varchar) sdate(datetime,null) ddate(datetime,null) Value(int) ss 2007-04-03 10:41:12.410 NULL 10 rr 2007-04-03 10:41:12.410 2004-04-03 10:41:12.410 10 tt 2007-04-03 10:41:12.410 20...more >>

Recovering deleted data
Posted by Kayda at 4/25/2007 4:13:01 AM
Hi: II have a database that has not been backed up, and a delete command deleted certain rows from one table.. How can I recover the table to its original state using the transaction log, and without using a third party tool? Thanks, Kayda ...more >>

Discrepancy in Row Count between Table Properties and Query Analyzer
Posted by zacks NO[at]SPAM construction-imaging.com at 4/24/2007 11:52:13 AM
I have a table that shows a row count of 2092 in the Enterprise Manager Table properties window. But if I run a select count(*) from the table, it shows 2110 rows. Any idea why the discrepancy? ...more >>



Help With Update Query
Posted by KenCraft at 4/23/2007 10:56:21 AM
Hello, I need a little help with a query I am trying to build. Heres what I want it to do: I have 2 tables, ActivityPartyBase and ActivityPointerBase (Microsoft CRM database) I want to update a cell (ParticipationTypeMask) in ActivityPartyBase ONLY If the following 3 creds are matched: ...more >>


DevelopmentNow Blog