SQL Server Questions and Answers
1 - 20 of 2474
<<PREVIOUS 1|2|3|4|5|6|7|8|9|10 NEXT>>

SQLRPGLE Cursors and Recursion

I'm trying to recursively call a PI in my SQLRPGLE program. Problem is, I get an SQLCODE error of -519 and I'm sure it has to do with cursors and the prepare statement in my PI. Here's the code: pprintPrograms    b      dprintPrograms    PI      d...

Answer Question   |  Nov 19 2009  11:09 PM GMT
SQLRPGLE, iSeries, SQL Cursors
asked by Dcantwell

  170 pts.

Msg 102, level 15, State 1, Line 14

Hi, I'm ttrying to create my db tables in a stored procedure and I keep getting the error that the syntax is incorrect around the 'ON' on the line "SET ANSI_NULLS ON". Could you please help me? I can't see what's wrong. Here's my code:  CREATE PROCEDURE InsertDBTables  AS  BEGIN  SET NOCOUNT...

View Answer   |  Nov 19 2009  6:54 PM GMT
SQL, Stored Procedures, CREATE TABLE statement
asked by MasterK

  15 pts.

The IT Blog Top 10: Nov. 19, 2009

10. The intermediate IBM i 6.1.1 version Mark Fontecchio takes a look at IBM i 6.1.1, and answers the question of how well it fills the gap for those waiting for i5/OS. 9. Using VRDP to view VirtualBox virtual machines remotely Rick Vanover explains some important adminsitration techniques for...

Answer Question   |  Nov 19 2009  6:46 PM GMT
ITKE, AS/400, Channel
asked by Michael Morisy

  710 pts.

MS SQL Server to Oracle Applications

We have MS SQL Server Data and need to get into Oracle Applications. Data Source – MS SQL database – Data is to be summarized by transaction type; needs to provide parameter for transactions dates to be extracted.[o:p][/o:p] Data to be loaded initially to STG table and then to GL journal...

View Answer   |  Nov 17 2009  9:16 PM GMT
Oracle applications, SQL Server, Oracle migration
asked by Vkputtagunta

  5 pts.

How to encrypt a big list of sp's at once

I want to encrypt a large amount of store procedures (around 4000)at once,so they wouldn't be able for the final user. As this operation needs to be done several times in the future and taking in consideration that doing this manually will take a long time, I'll like to know if there is a way to...

View Answer   |  Nov 17 2009  7:52 PM GMT
Encrypt, Stored Procedures Optimization, SQL
asked by Grizo

  5 pts.

FULL BACKUP taken by SQLExecDirect function works, but backup is not taken why?

I try to backup SQL server database using ODBC native client apis. One weird error occurs. When I run, SQLExecDirect(stmt, "BACKUP DATABASE dbname TO DISK='C:TESTBK.BAK' WITH FORMAT ", sql_nts ) There are no errors during runtime, and message shows backup taken . But it is not seen innthe specified...

asked by ITKE

  10290 pts.

Composite foreign Key in SQL Server

I have a composite foreign key that has to be part of the primary key of the new table... but an error appears in SQL server... CREATE TABLE Se_paga_con (IDpel INT NOT NULL, IDvta INT NOT NULL, IDnota INT NOT NULL, CantidadPeliculas INT, PRIMARY KEY (IDpel,IDvta,IDnota), FOREIGN KEY (IDpel,...

asked by GabyCostilla

  5 pts.

Email Notification

Hey i am creating an application front end = vb.net and back end = sql server db!! the application helps assign staff to jobs and when an assignment occurs i would like the staff to recieve an email informing them that they have been assigned to a job... can anyone help me out with how i would go...

Answer Question   |  Nov 17 2009  0:09 AM GMT
VB.NET, SQL Server database
asked by Keirameister

  5 pts.

passing data between two SQL Server databases

I am having an issue to passing data between two SQL Server databases.  I can not simply use Import/Export functions or Data Transfer Functions from SSIS because I was asked to transfer “20%” data with more than 15 criteria among 200 related tables.  Also we are not allowed to use the...

Answer Question   |  Nov 16 2009  6:29 PM GMT
SQL 2005, T-SQL, Stored Procedures
asked by LL123

  15 pts.

Passing data between two SQL Server databases

I am having an issue to passing data between two SQL Server databases. I can not simply use Import/Export functions or Data Transfer Functions from SSIS because I was asked to transfer “20%” data with more than 15 criteria among 400 tables. Also we are not allowed to use the linked server,...

View Answer   |  Nov 12 2009  9:07 PM GMT
SQL, SSIS, Stored Procedures
asked by 2747031103112747

  15 pts.

pl/slq procedures - POSITIVE and POSITIVEN as IN OUT parameters

Hi, I have a simple PL/SQL procedure with IN and OUT parameter of type POSITIVEN. CREATE or REPLACE PROCEDURE PROC ( inval IN POSITIVEN, outval OUT POSITIVEN ) AS BEGIN outval := inval; END; I pass the value 1 for the IN value using the sql type INTEGER in a jdbc application. But oracle throws a...

View Answer   |  Nov 12 2009  7:49 PM GMT
Oracle, PL/SQL, Data Types
asked by Kanapo

  5 pts.

The IT Blog Top 10: Nov. 12, 2009

10. How to use command line arguments in VBScript via the Wscript.Arguments Object Jerry Lees offers up an indispensible guide for VBScripters. 9. Standard Server 2003 Migration to SBS 2008 Part 3 Roger Crawford’s third part of his series on Server 2003 migrations. 8. Success of 64-bit Internet...

Answer Question   |  Nov 12 2009  7:00 PM GMT
AS/400, Channel, CIO
asked by Michael Morisy

  710 pts.

SA Password change for SQL

 What is the easiest procedure for changing the SA password, and what is the procedure for testing the password change? Software/Hardware used: SQL 2005 SP3

View Answer   |  Nov 12 2009  5:52 PM GMT
SQL 2005 admin, SQL 2005, SQL 2005 SP3
asked by Syscheck

  5 pts.

Can we get sql server authenticated logins and passwords?

Plz forward me the solution of the above query.   Thanks & Regards, Gangadharan M   Software/Hardware used: Software

View Answer   |  Nov 12 2009  4:54 AM GMT
SQL Server authentication, SQL Server User Accounts
asked by Ganga2584

  5 pts.

How do I fetch synonym names with the SQLTables function in ODBC API?

Can somebody please explain how to fetch synonym names with the SQLTables function in ODBC API. I currently use the DSN created with SQL Native Client 10 and SQL Server 2005. My code is as follows:</p><p>ret = SQLTables(stmt, NULL, 0, NULL, 0, NULL, 0,...

Answer Question   |  Nov 10 2009  9:40 PM GMT
SQL tables, ODBC
asked by SQL Server Ask the Experts

  2445 pts.

SQL select for month date range

Hello, I am attempting to obtain a count of visits each patient comes in in one month, so for example of they were a new patient in January on the 4th, I would want from the 4th of January to the 4th of February.  The code I am attempting to use is below, but every time I use it, no records are...

View Answer   |  Nov 9 2009  10:03 PM GMT
SQL Server, SQL
asked by CraigN

  20 pts.

sql results to text file

I starting using a new laptop and checked all my sql settings however when I run the same script on my old laptop and new laptop and save to file as text, the data is exactly the same but it is much larger on my new laptop. What setting am I missing on my new laptop? I already save with Encording...

Answer Question   |  Nov 9 2009  9:17 PM GMT
sql 2005 Performance Issues, SQL 2005
asked by Chpern

  5 pts.

Why is my logical disk usage enormous?

I have a cluster server (2003 OS) in my environment with SQL Server 2005. It has four internal disks with RAID 10 configurations. My logical disk usage is pretty high and I am not sure how to find out what exactly is “hammering” our server or what database is making this disk activity enormous....

View Answer   |  Nov 9 2009  2:19 PM GMT
logical disk, SQL Server 2005, performance tuning
asked by SQL Server Ask the Experts

  2445 pts.

SQl Server Replication Internals

Can someone please explain me the internals of SQL Server replication. I need to know what happens when a new data is inserted, which all views and triggers get initiated and how the whole process works. Thanks.

View Answer   |  Nov 9 2009  5:19 AM GMT
SQL Server administration, SQL Server replication
asked by Shahi

  5 pts.

Setting up dbmail in SQL Server 2005 on Server 2003

I am having trouble setting up dbmail in SQL Server 2005 running on Server 2003. I am trying to send mail through an Exchange 2007 Server. Do I need to use the SQL Service account with Windows authentication? Also on the Exchange side, how should the "receive connector" be set? Software/Hardware...

View Answer   |  Nov 6 2009  4:37 PM GMT
SQL Server 2005, Database Mail, DB Connector
asked by SQL Server Ask the Experts

  2445 pts.

1 - 20 of 2474
<<PREVIOUS 1|2|3|4|5|6|7|8|9|10 NEXT>>