About 7,480 results
Open links in new tab
  1. in sql function check to see if variable is null

    Oct 7, 2021 · Inside a function I need to check to see if a variable value is null, how to do this? I implemented the code but its not returning the value I thought it would return.

  2. Get Next Number from a Table to Insert

    Sep 17, 2012 · I need to pass the sequence number (1, 6 or 8) and from that sequence get the max value (2, 1 or 3) and then add a 1 to that value so my insert can be performed.

  3. How to assign value to variable in SSIS using VB

    Nov 13, 2009 · ' Microsoft SQL Server Integration Services user script component ' This is your new script component in Microsoft Visual Basic .NET ' ScriptMain is the entrypoint class for script …

  4. Filter SQL query by a Date parameter - social.msdn.microsoft.com

    Oct 24, 2011 · According to my understanding, you don't need to declare variable in query window. Just write the below query and click on the Refresh fields it will ask you to enter the value for …

  5. Calculate one standard deviation and median

    Sep 7, 2019 · STDEV is an aggregate function from the SQL server. SQL server does not have a direct function to calculate the median, but you can use PERCENTILE_CONT to do it.

  6. DataSet.GetXML and DataTable.WriteXML do not write all the columns …

    Aug 11, 2010 · There is close to always a patterns why stuff fails :) In your select statement you can write ..., ISNULL (fieldname1, '') AS FieldName1, ISNULL (Fieldname2, '') AS FieldName2.... This will …

  7. The Shared dataset definition is not valid. Details: The report ...

    Apr 7, 2013 · The Shared dataset definition is not valid. Details: The report definition element 'Dataset' is empty at line 1402, position 5. It is missing a mandatory child element of type 'Field' Archived …

  8. Must declare the scalar variable error when using a Table Variable

    Aug 4, 2016 · The len function requires 1 argument (s). The charindex function requires 2 to 3 arguments. The ltrim function requires 1 argument (s). The charindex function requires 2 to 3 …

  9. Problemas com GROUP BY em campos NULL

    Jun 6, 2011 · Essa tabela física não pode receber qualquer valor nesse campo INT que estou com problemas. Então quando usei o ISNULL no SELECT/GROUP BY, adiante no meu script tive que …

  10. Update records from excel to sql table using SSIS

    Oct 7, 2021 · Thanks its working, but my join key is varchar type (combination of number and character) and i am using IsNull condition. But how this IsNull is able to differentiate between new and existing …