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 >>
Don't see what you're looking for? Search DevelopmentNow.com.
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 >>
|