About 50 results
Open links in new tab
  1. sql server - What does % in this WHERE clause do? - Database ...

    Oct 10, 2017 · It is being used as a Modulo Operator; returning the remainder of a number divided by another. In your example, the WHERE clause is limiting the results to only those where the Col1 …

  2. sql server - SQL Modulo Function gives the wrong value? - Database ...

    Nov 18, 2022 · The Wikipedia article on "Modulo operation" shows that there are different interpretations of what "modulo" means, particularly when moving to real numbers --even though natural numbers …

  3. installation - How can I install the SQL Server PowerShell module on an ...

    Apr 14, 2020 · 9 I have some SQL Server machines that cannot connect to any external sites. I have been using PowerShell more and more when managing databases, so I definitely need this module …

  4. SQL Server 2019 unable to start (sqllang.dll)

    Oct 11, 2021 · I am running a fresh install of Windows 11 trying to set up a local SQL server for development. I installed SQL server 2019 from ISO, however am unable to start the server. Same …

  5. Modulo operator with nonintegers - unexpected results

    Jul 30, 2015 · Compare this with the behavior of Oracle (using SQL Developer if that matters), where the type of col is NUMBER: SELECT thing_id,name FROM table WHERE col=5850 AND mod(col,.1) != …

  6. t sql - How does the operator "&" work in sql server? - Database ...

    Aug 17, 2016 · How does the operator "&" work in sql server? Ask Question Asked 9 years, 5 months ago Modified 6 years, 9 months ago

  7. sql server - Running sqlcmd errors - Database Administrators Stack …

    Jun 10, 2025 · The command is something like this: sqlcmd -S "host" -U "user" -P "password" -d "database" -C -i "script.sql" -I where the values here are dummy values. I’m getting the message: …

  8. sql server - make random numbers for each row and column

    Oct 24, 2015 · The modulo value can be adjusted for a different range and you can use this basic technique to generate random values for dates, character, etc. WITH x AS ( SELECT mintwee, …

  9. Questions tagged [t-sql] - Database Administrators Stack Exchange

    Transact-SQL (T-SQL) is a dialect of SQL used by Microsoft SQL Server and SAP's Sybase.

  10. sql server - How to generate a 1, 2, 3, 3, 2, 1, 1, 2, 3, 3, 2, 1 ...

    Jan 9, 2017 · I name it n2m. 0 to N-1 (not 1 to N) to simplify the following modulo operation. Take it % n*2 (% is the modulo operator) to get a series of n ascending numbers, m times.