Software Development Network Logo
  • SharePoint Products
  • Visual Basic
  • SQL Server
  • Microsoft ISV
  • Windows Vista
  • Audio and Video
  • Visual FoxPro
  • Visual C++
  • Windows Forms
  • Game Technologies
  • Smart Devicet
  • IE Development
  • .NET Development
  • VS Team System
  • Visual Studio

Software Development Network >> SQL Server

SQL Server

New Question

Named Pipes Error with Remote Connection Problem for Maintenance Plan
Changing Cube source in a EXCEL pivot table
how can i get this query
Problems with Autogrowth feature
SQL Server Express setup question
Flat File Connection Manager HeaderRowsToSkip not modifiable at runtime?
Unable to set variables from script task
Group By, Max(date) query problem
Report parameters via URL
SQl Mobile for standalone Apps?

Top Answerers

xxxmpsxxx
MJA73
xavito
AjayB
J. Clark
davidjmsdn
tonionio
Jakein2006
bababab
Jamie Thomson
The Montgomery Advertiser
Only Title

Answer Questions

  • Jonesj3599 How to perform my task?

    What i want: Receive files from remote server every 8 hours daily,and if these files are all created during this period ,then execute next step My thought: I can receive files using FTP Task and i can set up job from Sql Agent but how can i say whether these files are new or old Any idea Thanks Whether i can foreach loop all remotes files or i can handle this like that don't say whether files are new or not only files exist then execute next step,and remove remote files and local files after finish executing I think the key is how to deal with files status using FTP Task how can i perform this task thanks in advance ...Show All

  • Jkumar Error converting data type varchar to float.

    Hi, I am experencing a data type cast issue in T-SQL, basically our application comtains both numeric and non-numeric data in the same column, I want to retrieve the numeric data only. Assuming a table has one column create table TT(c1 varchar(20) ) and insert 2 rows into the table insert into TT values('100') insert into TT values('test') Now if I want to do numeric comparison on column c1, I will get an error, e.g. select * from TT where c1 >100 because SQL server trying to convert 'test' to a number impcilitly. I tried to create an UDF to handle the non-numeric data conversion, e.g. if the data is numeric then return the number, if the data is non-numeric, then return a NULL. create function numcas ...Show All

  • chris441962 Data Type in DSV

    I have Varchar column called "Age", which capture patient age. and I am trying to use grouping property of the Age dimension, since it is varchar type, the grouping is messed up, such as 20 - 4, 40 - 5. So I say, ok, I need to cast to int, so I change my age dimension to int, but the fact table need to be changed too, so I did cast(age as int) as Age, however I got error: maxlength applies to string data type only, you cannot set column 'Age' property MaxLength to be non-negative number. Any advice Dear Friend, First when U Chages any data type in Fact Table. First remove all references in Cube. Suppose U want to change Age Datatype then first remove Age Measures from Cube or if any other reference is there like ...Show All

  • webrift looking to write my own simple SQL Client via TCP/IP

    I'm looking to write my own simple SQL Client via TCP/IP. We have some hardware that does not run an OS of sorts, but I can create TCP Connectons. We's like to be able to Query our SQL Server with this hardware. The SQL Servers we are talking to are MS SQL2000 and MS SQL 2005 both via TCP port 1433. We can telnet to the port of the SQL Server. Any resources to the SQL Protocol you could pass along would be great. Thank you, Scott<- Its not too proprietary since there are Linux and Java versions of the TDS Protocol out there with the Source If its not too much trouble wont hurt to see whats involved in geting the License for the Protocol. I've found the Following on TDS since I did the origi ...Show All

  • Davids Learning Create an instance of SQL 2005

    Dear friends, I deleted the instance of SQL 2005, and now I want to create and I dont know how! Colud you tell me Thanks. Insert the setup media and install it again, you have the chance to name of new instance there. (don’t forget to patch the system again after installing the instance from scratch) HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Ruben T Dynamic DSN in Report

    I am creating a dynamic DSN in a report to pick which database to run a query against. I have a fairly simple expression, ="Data Source=MYSQLSERVER;Initial Catalog=ADV_" & Parameters!DBNum.Value When I try to preview the report, I get the following error An unexpected error occured while compling expressions. Native complier return value: '[BC32017] Comma, ')', or a valid expression continuation expected.'. I have also tried it without the parameter, ="Data Source=MYSQLSERVER;Initial Catalog=ADV_1" with the same result. When I use the exact same static DSN it works fine. Anyone have any idea what I might try to get it to work next R Thanks a lot Ron, ...Show All

  • Andre&amp;#39;s Changing DataTypes in an Excel Data Source

    Hello. I'm importing some data from an excel file to sql server 2005. I created an Excel Data Source inside my Data Flow Task but it is assuming that the source columns DataType is double-precision float [DT_R8]. It isn't, even though some rows may containg numeric string in the column's cell. If I go to the Data Sources advanded editor, and modify the data type property of the column, SSIS complains the the error output and the source output are not of the same DataType. If I try to change the error output's data type in the advanced editor I get this error: "Property Value". The deailed error states: Error at MOVIM 04 [MOVIM 04 [1]]: The data type for "output "Excel Source Error Output" (10)" can ...Show All

  • fdc2005 Old FSO snippet of code

    Hi everyone, Does anyone has ever written VbScript .Net stuff which do anything like that I've got a dtsx package and I'd need covering along folder looking for subfolders and so on objFSO = CreateObject( "Scripting.FileSystemObject" ) objFolder = objFSO.GetFolder( "c:\test" ) colSubfolders = objFolder.Subfolders For Each objsubfolder In colSubfolders ... ... Thanks in advance and best regards, The .NET Version of this would be. Dim Directories As String() = System.IO.Directory .GetDirectories("C:\test") Dim I As Int32 For i = 0 To Directories.Length - 1 Dim TmpInfo As New System.IO.DirectoryInfo (Directories(i)) TmpInfo.Delete(... Next Links embedd ...Show All

  • Mary-Rosey Import Flat file to sql server programmatically

    Hi, i want to import flat file data to sql server. i created a package in vb.net. if the import table column is identity means i got Failure inserting into the read-only column "ID". Column metadata validation failed. "component "OLE DB Destination" (10)" failed validation and returned validation status "VS_ISBROKEN". One or more component failed validation. There were errors during task validation. error. how can i rectify this error or how can i ignore the identity column in coding. thanks & regards, sivani Don't map a column to the identity column in the table. Leave it out. For instance, in terms of SQL this won't work: insert in ...Show All

  • toneho Windows 2000 professional HELP

    I don't know where to post this so please forgive me. I have a major problem and don't know what to do. I have a computer given to me by some friends. I am not very knowledgeable about it but I will do my best if someone can help me with not having to just trash the computer. It has a partitioned hard drive. I can find out any info needed to help with this. I just need to know where to look. It has windows 2000 professional and milennium on it. I accidentally deleted a file on it and now I can't even boot it up. Yeah STUPID I know. It is giving me the message "<window\system32\ntoskrnl.exe> file is either missing or corrupt." "please reinstall this file." How the hell do I reintsall if I can't get anywhere on this thing. I can get to ...Show All

  • nothingmag SQL 2000 locked in Single User Mode

    I have gotten my production version of SQL locked into single user mode. We recently upgraded to a clustered configeration and when I went to pause the system to get control I was told Pause was not available in a clustered environment. I restarted the service with -m [single user] but couldn't run Enterprise Manager as it appeared to take the only user slot and not give me one. Then I hit on startingup with Query Analyzer and that worked but now how do I get it back into multi-user mode. I placed the -m in the settings using Enterprise manager; could I stop the service and restart at the cmd prompt using -f [minimal config] and get Enterprise manager running Any assistance appreciated. Thank you to those ...Show All

  • Duque Vieira sql 7.0 delayed trigger

    HI all, I have a trigger that i need to run after the insertion or update is done. I know there is a code that on 2000 saying after but 7.0 doesnt have that. How can i do this on 7.0 You're in luck - AFTER triggers in SQL Server 2000 are regular triggers in SQL Server 7.0, so just create a trigger, and it will fire after the insert or update. SQL Server 2000 adds INSTEAD OF triggers, but that's not what you want. The standard FOR trigger syntax in 7.0 gives you the same as the AFTER trigger syntax in 2000 - they just added the AFTER syntax to distinguish regular after triggers from the new INSTEAD OF triggers. You should write a stored procedure. Run the main update in the stored procedure followed ...Show All

  • Larry Surat Problem deploying reports

    Hi, I have an application that involves 3 components one of which is Reports. My system's configuration: SQL 2000 - Default instance SQL 2005 - Named instance (Instance1). I provide the user with an option of selecting the SQL Server instance. If the user chooses Instance1, then I need to deply the reports in SQL 2005. The exceptions encountered during installation are logged in the Event log. When I do the installation for the in a machine, I always get the following error in the event log: Could not connect to the Report Server Database http://<MachineName>/ReportingServices.asmx . I tried giving the rs.exe options from commandline. I got an error like: Error in DetermineReportUrlSecurity(). I don't have the exact error ...Show All

  • The_Postman Run Subreport according to condition.

    Hi all, in my report, I am using a subreport which takes two parameters and in my main report there is a filed named "ProcessCode". My problem is that, this subreport should be only run if ProcessCode is 11 oder 29. Otherweise there is no need to run subreport. the column of subreport will be shown as emtpy. I know, I can return empty string from my stored procedure if the processcode is not 11 or 29, but I would like to learm, is it possible to not render subreport according to condition Thanks in advance.     Try to use iif() function for your subreport. Also, you can setup the condition in the 'visibility' property of the subreport. Hope it helps, Shin that ...Show All

  • Hassan Ayoub upgrading to 2005

    I have been assisgned the task of upgrading to sql 2005. I was given a dell poweredge 1850 and the sql standard edition 2005 w/ 5 cal disk. I have only used sql a little to make data changes in tables. My boss expects me to figure this out on my own which I like to do anyway. I remember he mentioned when I am ready he would tell me the path to a backup. I guess there is a server on the network that is only in place in the case of the current live one going down. I have been reading this helpful site and hope someone can give me some basic logical steps to take. I feel overwhemed by all the data posted. Please help me if you have time. Oh ya, right now we have sql server 2000 running with about 20 databases on it. It has some tables that t ...Show All

123456789101112131415161718

©2008 Software Development Network

powered by phorum