| Thread | Last Post | Replies |
|
| SQL JOB created by virus | 23 Jul 2008 12:36 GMT | 1 |
Dear list of some strange jobs created in sol server. one of the job contains the following code "Cmd /c Copy ias\dnary.mdb dnary.mdb
|
| Assigning to two operators | 23 Jul 2008 11:46 GMT | 2 |
Our DBA support rests with two teams. From 07:30am PT till 07:30pm PT, it is from USA and then it is outsourced to India. Thus we would like to have two paging operators for all our jobs. I can create two operators but the sql 2005 agent job would allow to assign
|
| Need help on how to write this report. | 23 Jul 2008 09:48 GMT | 5 |
Does anyone knows where can I get a script to generate backup and restore information like the one show below. I need to do this quick for my boss and can't think of a way
|
| Upsert Proc using IF logic | 23 Jul 2008 05:56 GMT | 4 |
Here is the sample code: CREATE PROCEDURE [dbo].[WDSHE_CATEGORIES_INSERTUPDATE] @cat_name varchar(50), @status char(1),
|
| Procedure with date range and optional parameters, what's most efficient? | 23 Jul 2008 04:11 GMT | 9 |
A much more complex version of this stored procedure has been working ok for me but I'm not sure it's well formed. In particular, the date range poses an issue when a study date range starts getting larger. Most of the time the range requested is today
|
| Find date ranges | 23 Jul 2008 03:53 GMT | 1 |
How can I select the dates in question based upon these tables. The pounds tables has history for the past 3 years. The workdays table has current year plus 09 and 2010. I need to grab from the pounds table the customer shipments based based upon the next 6 months from the ...
|
| SQL | 23 Jul 2008 03:31 GMT | 1 |
What is tha difference between varchar and nvarchar From http://www.developmentnow.com/g/113_2005_8_1_0_0/sql-server-programm Posted via DevelopmentNow.com Group http://www.developmentnow.com
|
| Using RETURN | 23 Jul 2008 03:27 GMT | 7 |
I'm trying to RETURN an integer variable called @iReturnCode after comparing 2 columns from 2 different tables after comparing the columns. I'm not real familiar with using RETURN for this type of purpose. If the 2 columns aren't equal, I'd like to RETURN a 1, if they are equal, ...
|
| insert duplicate key errors | 23 Jul 2008 03:19 GMT | 2 |
Do insert duplicate key errors always throw error number 2601 ?
|
| IF and TRANSACTION problem | 23 Jul 2008 01:38 GMT | 9 |
Have a problem that is probably easy to fix, but I cannot understand why this happens. The following code fails because of the GO's in the code: --------------------------
|
| Query Help - | 23 Jul 2008 00:47 GMT | 1 |
I have a ntext field in Sharepoint database that contains the results of a choice field. There are 5 choices (multiselect allowed) and the results of the choices are stored as ;#General;#Leasing;# ...etc Is there a way to remove the ;# in query at run-time? I am trying to
|
| Using single character wildcards in stored procedure and allow a % | 22 Jul 2008 22:19 GMT | 6 |
We have a search form with multiple fields for searching. I've simplified the stored procedure below to only show a couple of fields and parameters. The users can search using the ? or _ for single character searches by entering them in the form. However, they also want to be ...
|
| Why is use of triggers discouraged? | 22 Jul 2008 21:13 GMT | 32 |
I have been working with SQL server for only 6 months and am surprised to notice most articles discourage use of triggers. What is the reason? Thank you, Omid
|
| Database is in Transistion. There is already an open datareader associated with this data | 22 Jul 2008 20:47 GMT | 2 |
SQL 2005. I tried to take a DB offline but it just never came back. I now just want to detach and/or delete it it.. but get error: "There is already an open datareader associated with this Data"
|
| CTE and DDL | 22 Jul 2008 20:28 GMT | 2 |
I am trying to create a staging table using CREATE TABLE statement on a file group with the file group name decided at the exectution time. Is there any way, I can supply the file group name in the form of variable or using CTE when I create the table using CREATE TABLE statement ...
|