all groups > sql server (alternate) > december 2005 > threads for december 15 - 21, 2005
Filter by week: 1 2 3 4 5
How to schedule a stored procedure
Posted by Ranjit at 12/21/2005 10:10:14 PM
I'm new to sql server programing. Please help me to scedule a stored
procedure to run every hour. Thnak you all.
... more >>
Breaking apart Column into rows
Posted by rcamarda at 12/21/2005 2:05:43 PM
I have a column that has text delimited by a percent sign that I wish
to turn into rows.
Example:
A column contains ROBERT%CAMARDA, I want to turn that into two rows,
one row with ROBERT and antoher row with CAMARDA.
I will have source rows that have zero, one, or many percent sign
delimiters ... more >>
Making a view that shows the results of several different queries.
Posted by Ryan at 12/21/2005 1:51:38 PM
Hello,
I am trying to create a view that shows the following
Field1: Sum of Amounts from Table A
Field2: Count of Amounts from Table A
Field3: Sum of of Amounts from Table B
Field4: Count of Amounts from Table B
..
..
..
Field3: Sum of of Amounts from Table H
Field4: Count of Amounts... more >>
Where the !@?!@ is my Stored Procedure?
Posted by Crazy Cat at 12/21/2005 1:42:51 PM
Hi,
I wrote the following in the SQL Server 2005 Express Management Studio
Query Analyzer
and hit execute. Even though Query Analyzer indicated success when I
hit refresh on the stored procedure folder the procedure does not show
up in the stored procedure list. When I entered 'exec Test' I g... more >>
Calculating 'time difference' between two records....
Posted by iamonthisboat NO[at]SPAM gmail.com at 12/21/2005 1:27:39 PM
I have a data set like so:
UTC_TIME Timestamp NodeID Message Flag
Line
Station
11/19/2005 10:45:07 1132397107.91 1 3 5 1028
1034
11/3/2005 21:05:35 1131051935.20 2 3 5 1009
1043
11/25/2005 21:12:16 ... more >>
LDIFDE csv import to SQL - looking for Ideas
Posted by rcamarda at 12/21/2005 1:00:23 PM
This is a tuffie, but I think I'll learn new techniques in SQL.
I wish to put data from MS Active Directory and put it into a table.
Specificly I want user information (first name, last name and so forth)
and the groups that they belong into a SQL table.
LDIFDE is a utility that can create a csv... more >>
OLE DB Provider for ODBC and Oracle
Posted by Crazy Cat at 12/21/2005 7:23:43 AM
Hi,
I created a linked server for MS SQL Server 2005 Express to an Oracle
database using the OLE DB Provider for ODBC. My ODBC Source uses the
Microsoft ODBC for Oracle driver.
I'm using the OLE DB Provider for ODBC instead of the Oracle OLE DB
providers because those don't handle Oracle's Nu... more >>
SQL/ASP - Timout Problem w/ Particular Statement
Posted by Not4u at 12/20/2005 6:42:54 PM
Hello
Config : SQL 2000 on WIN 2000 (IIS 5.0)
In my ASP page for some queries i have this error :
Microsoft OLE DB Provider for SQL Server error '80040e31'
Timeout expired
My asp page calls a stored procedure passing many parameters.
I used the SQL profiler to get the exact store... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
operand type clash
Posted by coop at 12/20/2005 1:58:25 PM
I have a stored procedure that works fine on SQL Server 2000 or 2005,
but when run on an machine running MSDE, I get the Operand type clash,
int is incompatible with text data type error. The data type is
actually text and text is the type of data being passed. Any
parameters not being used ar... more >>
one transaction log per filegroup?
Posted by plsullivan63 NO[at]SPAM gmail.com at 12/20/2005 11:00:21 AM
Is a single transaction log created for a database or, if you have a
primary and a secondary file group in that database, are two
transaction logs generated? Yep, a newbie.
Thanks,
Phil
... more >>
TransferText dropping fractions
Posted by ckirby NO[at]SPAM mindspring.com at 12/20/2005 9:42:47 AM
I've got a csv that I am trying to import into a SQL Server (2000)
table through an adp (Access 2000). The form used gives the user the
ability to browse for a file, then will import the file into a temp
table for processing using this vba code:
DoCmd.TransferText acImportDelim, , "tmpPaTimeC... more >>
Update Web Form
Posted by Cat at 12/20/2005 7:40:26 AM
I'm trying to create a online update form to a SQL table. I've never
done this function before, and I'm not quite sure I have the coding
correct. Below is the coding for the Update statement.
final String udc = "UPDATE INTO " + "Comm_WebSubmission Set ProjectID
= request.getParameter("Projec... more >>
time format error
Posted by Johnny Ruin at 12/20/2005 6:38:15 AM
What do you think of a query that generates a
System.Data.SqlClient.SqlException when submitted via a application,
but when run through QueryAnalyzer or EnterpriseManager doesn't
generate a error? Here are 2 examples of the query:
SELECT table1.*,table2.field1,table2.field2,table2.field3 FRO... more >>
arbitrarily delete transaction log
Posted by plsullivan63 NO[at]SPAM gmail.com at 12/20/2005 6:36:54 AM
Question: (SQL Server 2000) Can I arbitrarily delete a transaction log
file in either bulk or full with a cron job and still be able to
restore a backup? Or are the log and the .bak enmeshed to the extent
that this not do-able?
Details: I need to exclude a file group from a backup as it's stat... more >>
Size of data-set passed back by a select
Posted by Mike Collier at 12/20/2005 6:28:25 AM
When a SQL statement is executed against a SQL Server database is there
a server-side setting which dictates the size of the fetch buffer? We
are having some blocking issues on a new server install which do not
occur on the old server until a much larger volume of data is selected.
Any help ap... more >>
Store Multi-Select values in an image data type?
Posted by serge at 12/20/2005 1:37:11 AM
I was working on figuring out where a certain application was
storing the multiple selection choices I was doing through the app.
I finally figured out that they were being store in an IMAGE
data type colum with the variable length of 26 bytes.
This is the first time I ran into such way of sto... more >>
Lost Data
Posted by kmounkhaty NO[at]SPAM yahoo.com at 12/19/2005 6:12:10 PM
Hi Guru,
This weekend, I migrated SQL Server7.0 to 2000 and below is the
scenarios:
1.) At exactly 4:00PM on Sturday 17th, do full backup(T-SQL) and put a
database into single user mode.
2.) Copy both Saturday 4PM and Friday night full dump to the SAN.
3.) Delete WinNT4.0.
4.) Reinsta... more >>
Periodic run of stored procedure
Posted by brogdonm at 12/19/2005 3:18:20 PM
Hi,
I have this stored procedure that I need to run daily, how do I do
this?
Thanks,
Mike
<><
... more >>
changing collations
Posted by Sai at 12/19/2005 2:44:01 PM
Hi,
We have around 150 databases as case sensitive, and we are planning to
change it to case insensitive. Each database has around 180 tables, I
have changed the collation on DB, but changing collation manually on
each column is a daunting process. Is there any script or tool which
can assist... more >>
SQL 2005 Management Studio: Line Numbers in Query Window.
Posted by LineVoltageHalogen at 12/19/2005 1:31:13 PM
Can anyone tell me if you can display line numbers in the query window
of SQL 2005 Management Studio and if so how do I go about doing it?
Thanks a bunch. TFD
... more >>
Can't edit Linked Server General Properties after saving
Posted by Crazy Cat at 12/19/2005 1:27:35 PM
Hi,
When I click on the properties of a linked server, all the General
properties are read - only, which means that if I want to edit any
general properties I have to delete the linked server and recreate it.
Needless to say this is a pain. Is this by design or some kind of bug?
Is there a wo... more >>
Connection pooling
Posted by Ray Allison at 12/19/2005 12:29:38 PM
Hi,
I'm using ASP 3.0 and ADO with a web based MS SQLServer 2000 database.Web
page forms collect criteria for SQL queries (dynamic SQL?). These are mostly
Select queries to return inventory lists. Inventory details are posted by
means of Insert Update and Delete queries. All connections use... more >>
sqlagent.out
Posted by dba999 at 12/19/2005 8:01:37 AM
Hello,
I have the following error message in the sqlagent.out file, looping
each minute.
2005-12-19 10:58:54 - ! [298] SQLServer Error: 14262, The specified
@job_id ('254D5C3B-CB1F-4B02-AD79-FF5AFE343E3B') does not exist.
[SQLSTATE 42000] (ConnExecuteCachableOp)
I restarted the sqlagent ... more >>
trigger help
Posted by Matt at 12/18/2005 9:00:36 AM
Greetings,
I am having some trouble with a trigger. This is my first attempt at
creating a trigger so any help would be great. The function of the
trigger is, on the insert of a row to check the value inserted into to
column VEH_REPAIR_CODE. If that value is not 19, send an email to the
value... more >>
database maintenace Plan location
Posted by Steve Blair at 12/17/2005 4:38:28 PM
Hi again,
I have setup a maintenance plan schedule, my question is; can I create an
additional plans located on another network location ?
In my attempts the only locations displayed are those on the current server.
thank you
... more >>
Maximum UNION statements in a query
Posted by laurenq uantrell at 12/16/2005 11:04:17 PM
Wondering if there is a physical or realistic limitation to the number
of UNION statements I can create in a query? I have a client with
approx 250 tables - the data needs to be kept in seperate tables, but I
need to be filtering them to create single results sets. Each table
holds between 35,0... more >>
Concurrent users
Posted by Ray Allison at 12/16/2005 4:48:27 PM
Hi,
Is it possible to have many different clients conncecting to a web based
server all using, simultaneously, the same DSN-less connection string held
in a server side include file?
Many thanks
Ray Allison
... more >>
How to pass table names to a Stored procedure
Posted by adi at 12/16/2005 11:06:27 AM
Hi all,
Seems like a fundamental question to me but I dont have a definite
answer for it, Gurus please enlighten me.
I have a table 'Table1' whose structure changes dynamically based on
some configuration values from another table. This table is being used
by a program, It was initially ... more >>
Cannot resolve collation conflict for equal to operation.
Posted by Ryan at 12/16/2005 7:33:47 AM
I've stumbled across the above error and am a little stuck.
I've just installed SQL2000 (sp3) on my PC and restored a database from
our Live server. On a simple Update statement on a #temp table, it
fails with the above message. I think I understand what it means and
found some old posts sugge... more >>
Multiple Apps on System DSN on Server from One PC
Posted by walt NO[at]SPAM clubknowledge.com at 12/16/2005 5:41:29 AM
A few years ago I wrote an active-X server to maintain a single
connection to a file .mdb from multiple apps on same PC because I was
having to many database curptions.
Should I use the same Active-X server for the same in a MS SQL Server
DSN connection or is it ok to have multiple apps from ... more >>
SQL Best Practices Analyzer Rule: Use of Schema Qualified Tables/Views
Posted by serge at 12/15/2005 11:56:44 PM
SQL BPA says the following:
"One or more objects are referencing tables/views without
specifying a schema! Performance and predictability of the
application may be improved by specifying schema names."
"When SQL Server looks up a table/view without a schema
qualification, it first searches ... more >>
Regarding table Order
Posted by pankaj_wolfhunter NO[at]SPAM yahoo.co.in at 12/15/2005 9:34:19 PM
Greetings,
I have an application that need to get all the user
defined child tables first before their parents.
I wrote a query, given in this newsgroup only, as below
SELECT o.name
FROM sysobjects o
WHERE o.type='U'
ORDER BY case WHEN exists ( SELECT *
... more >>
Can't connect to Oracle Dbase with SQL Server 2005 Express
Posted by danbredy NO[at]SPAM hotmail.com at 12/15/2005 9:14:44 AM
Hi,
I'm attempting to connect to an Oracle database using SQL Server 2005
Express (OS is Windows XP Professional) and having absolutely no luck.
Here is the information SQL Plus
gives me about the database when I log in -
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.6.0 - 64bit ... more >>
SQL Server Express Edition vs MSDE
Posted by Ellen K at 12/15/2005 7:48:36 AM
I have heard that machines running applications with embedded MSDE
frequently experience conflicts between the MSDE apps and other
applications such as BackupExec. What can anyone tell me about this?
And if this is true, does/will the new SQL Server Express Edition
behave better?
... more >>
Converting INT datatype to BIGINT datatype
Posted by Praveen at 12/15/2005 3:33:24 AM
HI,
I have a table with IDENTITY column with the datatype as INTEGER. Now
this table record count is almost reaching its limt. that is total
record count is almost near to 2^31-1. It will reach the limit with in
another one or two months.
In order to avoid the arithmentic overflow error 8... more >>
|