SQL Server Development Questions and Answers

Recent IT Questions

1 - 18 of 18
<<PREVIOUS 1 NEXT>>

comparing variable to a field with comma-separated values

"m trying to compare a variable (@item) to a field which has multiple item numbers separated by commas. I've used "LIKE" and "IN" to no avail. I've also tried appending wildcard characters to the variable (@item2), which also hasn't worked. Full-text indexing is not activated on the DB (SQL Server...

asked by Caruncles

  20 pts.

Find exact point where SQL Server 2000 job fails

I am running an SQL Server Job, that executes a stored procedure with about 900 commands (mostly insert commands). The job was working OK, but suddenly fails, due to erroneous data (error message : overflow in converting numeric data to dadatype numeric !!). How can I find the exact point (command)...

asked by Fbellos

  20 pts.

Purpose of creating SQL Server stored procedures at run time

Hi Experts, I am a programmer in SQL. Please explain me the purpose of creating stored procedures during run time and it's effects on performance and memory. Please provide me if there is any best alternative for this. Thanks in advance

asked by Skothamasu

  15 pts.

What are the steps involved in copying the website from production to preproduction server

what are the steps involved in copying the website from production to preproduction server

Answer Question   |  May 6 2009  11:10 AM GMT
SQL Server, IIS, Production Servers
asked by Sangeeth

  30 pts.

Can you force a user input in a SQL statement, then have the statement continue running

Hi, Can one in an sql statement , when run in sql, force a user input to be entered and when entered, the sql continues to completing

View Answer   |  Mar 25 2009  11:55 AM GMT
SQL statements, SQL, SQL Server development
asked by Bugsy

  5 pts.

SQL to insert comma-delimited string value to table column

I have string like '1,2,3,45,6,7,8' I want to insert each comma separated value in a table column...my output look like this: COLUMN 1 2 3 45 6 7 8

View Answer   |  Mar 18 2009  6:38 AM GMT
SQL Server Query, Comma-delimited, SQL queries
asked by 23121983

  5 pts.

Error while referencing external assembly in SQL Server 2005.

Sir, I created a dll (SqlWcfServiceLibrary1.dll) using .net frammework 2008. My code has a reference of another assemble (WcfServiceLibrary1.dll) also. I want to create assemble in sql and use that assemble in a procedure. I am getting error that "Error while referencing external assembly". I...

View Answer   |  Mar 16 2009  9:47 AM GMT
SQL Server 2005, .NET Framework 3.5, WCFServiceLibrary
asked by Batsa

  15 pts.

SQL Server 2000 backup problem using batch file

i have written a batch file to backup sql server database and it holds the data of CRE.the batch file is running successfully. but, after running i am unable to login to CRE (cash register express). i doubt if my batch file is corrupting my database please answere me what may be the problem

asked by Mesunny

  5 pts.

Website and database connection

can anybody tell me how to connect the MS sql database with the jsp pages....I got the ip address and username with the password...I know how to connect it in a local system...but I dont know how to connect it with the database in the web server....Please help me to solve this matter

View Answer   |  Feb 20 2009  12:29 AM GMT
SQL Server, JSP, SQL Server connectivity
asked by Advancedjava

  25 pts.

SQL Server Query Help Needed

I have a table with Inventory transacation records. The table contains both Shipment (outgoing) and Receiving (incoming) transactions. I'm trying to write a report that lists both Sales Orders that result in Shipment records and Purchase Orders that result in Receiving records. If I link the...

View Answer   |  Feb 5 2009  10:39 PM GMT
SQL Server Query, SQL queries, SQL Query
asked by Arlin

  70 pts.

To retrieve records from SQL Server database

Hello All, I have a requirement with sql server. Please find below the same. In database say we have a column named "Name" in a table. The records that are available in the table are say like Column_Name = Names Lean Metric Sequence Lean Operation Metric Lean Cleaning and so on.... Now,...

View Answer   |  Feb 5 2009  3:35 AM GMT
SQL Server Query, Query optimization, SQL
asked by Pichha

  5 pts.

Notes rich text field to BLOB/Memo field in SQL Server using ADOdb

I have an agent that uses ADODB to connect and insert a row into a SQL Server database. I want to store the contents of the Body field in the memo (rich text) into a Memo field in the SQL Server database (or Blob field). I'm finding examples of reading this kind of data back into a Notes...

Answer Question   |  Feb 1 2009  7:40 PM GMT
SQL Server development, ADOdb, MySQL
asked by Tjarman

  90 pts.

Joining Tables in SQL Server

What is the difference between Outerjoin and Left outerjoin.

View Answer   |  Dec 19 2008  10:23 AM GMT
SQL Server development, JOIN statement, SQL statements
asked by Bijaybehera29

  15 pts.

IF ELSE in SQL Server stored procedure

i am using this code which is giving error. if (@report_type = 'CM') Begin Select distinct Region,sum(ClientCount) as ClientTotal Into #NewTemp From ( End else if (@report_type = 'AM' ) Begin ( Select distinct Region,Area,sum(ClientCount) as ClientTotal Into...

asked by Rrj1

  5 pts.

Column extention

Hi I want to expand the number of columns that sql would permit me to creat. How do I start? any suggestions? example: 1032 maximun column limit I want in the area of upper 5000 ramge for a table. someone help thanks

asked by Ctc123

  20 pts.

Query error when using application role with ADO connection

I am developing an application with an ADO connection. I need to run a query on two different databases on the same server using an application role. When I run the query I get an error \domainusername does not have a logon on database (referring to the second database). Is there any way around it?...

asked by SQL Server Ask the Experts

  2445 pts.

Design a SQL Server trigger to calculate column averages and return them to another table

I'm quite new to SQL Server and I’m struggling to design a trigger. I need this trigger to execute daily and calculate averages of columns and return them to another table.

View Answer   |  Mar 16 2008  10:25 PM GMT
SQL Server development, Triggers, SQL Server performance
asked by SQL Server Ask the Experts

  2445 pts.

29 Feb incorrect in DateAdd and GetDate command

Hi, Does anyone know Why the day of date different ? when i used : select GetDate() --> It's Return 2008-02-29 11:01:45.310 and then when used : select DateAdd(yyyy,543,GetDate() ) ---> It's return 2551-02-28 11:01:45.310 My SQL Server is MS SQL Standard Edittion VERSION 6.5 ...

View Answer   |  Feb 29 2008  4:53 AM GMT
SQL Server 2000, SQL Server development
asked by 2830360

  50 pts.

1 - 18 of 18
<<PREVIOUS 1 NEXT>>